pos-gis/public/assets/js/pages/features/charts/amcharts/maps.min.js

1 line
13 KiB
JavaScript
Raw Permalink Normal View History

2024-10-07 06:13:42 +00:00
"use strict";var KTamChartsMapsDemo={init:function(){var t,e;t="M9,0C4.029,0,0,4.029,0,9s4.029,9,9,9s9-4.029,9-9S13.971,0,9,0z M9,15.93 c-3.83,0-6.93-3.1-6.93-6.93S5.17,2.07,9,2.07s6.93,3.1,6.93,6.93S12.83,15.93,9,15.93 M12.5,9c0,1.933-1.567,3.5-3.5,3.5S5.5,10.933,5.5,9S7.067,5.5,9,5.5 S12.5,7.067,12.5,9z",e="m2,106h28l24,30h72l-44,-133h35l80,132h98c21,0 21,34 0,34l-98,0 -80,134h-35l43,-133h-71l-24,30h-28l15,-47",AmCharts.makeChart("kt_amcharts_1",{type:"map",theme:"light",dataProvider:{map:"worldLow",zoomLevel:3.5,zoomLongitude:-55,zoomLatitude:42,lines:[{id:"line1",arc:-.85,alpha:.3,latitudes:[48.8567,43.8163,34.3,23],longitudes:[2.351,-79.4287,-118.15,-82]},{id:"line2",alpha:0,color:"#000000",latitudes:[48.8567,43.8163,34.3,23],longitudes:[2.351,-79.4287,-118.15,-82]}],images:[{svgPath:t,title:"Paris",latitude:48.8567,longitude:2.351},{svgPath:t,title:"Toronto",latitude:43.8163,longitude:-79.4287},{svgPath:t,title:"Los Angeles",latitude:34.3,longitude:-118.15},{svgPath:t,title:"Havana",latitude:23,longitude:-82},{svgPath:e,positionOnLine:0,color:"#000000",alpha:.1,animateAlongLine:!0,lineId:"line2",flipDirection:!0,loop:!0,scale:.03,positionScale:1.3},{svgPath:e,positionOnLine:0,color:"#585869",animateAlongLine:!0,lineId:"line1",flipDirection:!0,loop:!0,scale:.03,positionScale:1.8}]},areasSettings:{unlistedAreasColor:"#8dd9ef"},imagesSettings:{color:"#585869",rollOverColor:"#585869",selectedColor:"#585869",pauseDuration:.2,animationDuration:2.5,adjustAnimationSpeed:!0},linesSettings:{color:"#585869",alpha:.4},export:{enabled:!0}}),function(){var t="M9,0C4.029,0,0,4.029,0,9s4.029,9,9,9s9-4.029,9-9S13.971,0,9,0z M9,15.93 c-3.83,0-6.93-3.1-6.93-6.93S5.17,2.07,9,2.07s6.93,3.1,6.93,6.93S12.83,15.93,9,15.93 M12.5,9c0,1.933-1.567,3.5-3.5,3.5S5.5,10.933,5.5,9S7.067,5.5,9,5.5 S12.5,7.067,12.5,9z";AmCharts.makeChart("kt_amcharts_2",{type:"map",theme:"light",dataProvider:{map:"worldLow",zoomLevel:3.5,zoomLongitude:-20.1341,zoomLatitude:49.1712,lines:[{latitudes:[51.5002,50.4422],longitudes:[-.1262,30.5367]},{latitudes:[51.5002,46.948],longitudes:[-.1262,7.4481]},{latitudes:[51.5002,59.3328],longitudes:[-.1262,18.0645]},{latitudes:[51.5002,40.4167],longitudes:[-.1262,-3.7033]},{latitudes:[51.5002,46.0514],longitudes:[-.1262,14.506]},{latitudes:[51.5002,48.2116],longitudes:[-.1262,17.1547]},{latitudes:[51.5002,44.8048],longitudes:[-.1262,20.4781]},{latitudes:[51.5002,55.7558],longitudes:[-.1262,37.6176]},{latitudes:[51.5002,38.7072],longitudes:[-.1262,-9.1355]},{latitudes:[51.5002,54.6896],longitudes:[-.1262,25.2799]},{latitudes:[51.5002,64.1353],longitudes:[-.1262,-21.8952]},{latitudes:[51.5002,40.43],longitudes:[-.1262,-74]}],images:[{id:"london",svgPath:t,title:"London",latitude:51.5002,longitude:-.1262,scale:1},{svgPath:t,title:"Brussels",latitude:50.8371,longitude:4.3676,scale:.5},{svgPath:t,title:"Prague",latitude:50.0878,longitude:14.4205,scale:.5},{svgPath:t,title:"Athens",latitude:37.9792,longitude:23.7166,scale:.5},{svgPath:t,title:"Reykjavik",latitude:64.1353,longitude:-21.8952,scale:.5},{svgPath:t,title:"Dublin",latitude:53.3441,longitude:-6.2675,scale:.5},{svgPath:t,title:"Oslo",latitude:59.9138,longitude:10.7387,scale:.5},{svgPath:t,title:"Lisbon",latitude:38.7072,longitude:-9.1355,scale:.5},{svgPath:t,title:"Moscow",latitude:55.7558,longitude:37.6176,scale:.5},{svgPath:t,title:"Belgrade",latitude:44.8048,longitude:20.4781,scale:.5},{svgPath:t,title:"Bratislava",latitude:48.2116,longitude:17.1547,scale:.5},{svgPath:t,title:"Ljubljana",latitude:46.0514,longitude:14.506,scale:.5},{svgPath:t,title:"Madrid",latitude:40.4167,longitude:-3.7033,scale:.5},{svgPath:t,title:"Stockholm",latitude:59.3328,longitude:18.0645,scale:.5},{svgPath:t,title:"Bern",latitude:46.948,longitude:7.4481,scale:.5},{svgPath:t,title:"Kiev",latitude:50.4422,longitude:30.5367,scale:.5},{svgPath:t,title:"Paris",latitude:48.8567,longitude:2.351,scale:.5},{svgPath:t,title:"New York",latitude:40.43,longitude:-74,scale:.5}]},areasSettings:{unlistedAreasColor:"#FFCC00",unlistedAreasAlpha:.9},imagesSettings:{color:"#CC0000",rollOverColor:"#CC0000",selecte