Repository navigation
Expand file tree
/
Copy pathlineapenisular.js
More file actions
94 lines (94 loc) · 3.43 KB
/
Copy pathlineapenisular.js
File metadata and controls
94 lines (94 loc) · 3.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/**
* Linea penisular sample
*/
this.default = function () {
var maps = new ej.maps.Maps({
load: function (args) {
var theme = location.hash.split('/')[1];
theme = theme ? theme : 'Material';
args.maps.theme = (theme.charAt(0).toUpperCase() + theme.slice(1));
},
titleSettings: {
text: 'Shipping sea route between various cities',
textStyle: {
size: '18px'
}
},
zoomSettings: {
enable: false,
zoomFactor: 13
},
mapsArea: {
background: '#4863A0'
},
centerPosition: {
latitude: 25.54244147012483,
longitude: -89.62646484375
},
layers: [
{
shapeData: window.WorldMap,
shapeSettings: {
fill: '#789071'
},
navigationLineSettings: window.penisular_location,
markerSettings: [
{
visible: true,
shape: 'Circle',
fill: 'white',
width: 10,
height: 10,
dataSource: window.penisular_marker
},
{
visible: true,
template: '<div id="marker1" style="font-size: 12px;color:white">ALTAMIRA' +
'</div>',
dataSource: [
{ latitude: 22.403410892712124, longitude: -99.5 }
],
animationDuration: 0
},
{
visible: true,
template: '<div id="marker2" style="font-size: 12px;color:white">HOUSTON' +
'</div>',
dataSource: [
{ latitude: 30.332197482973, longitude: -95.36270141601562 }
],
animationDuration: 0
},
{
visible: true,
template: '<div id="marker3" style="font-size: 12px;color:white">PANAMA CITY' +
'</div>',
dataSource: [
{ latitude: 30.380747605060766, longitude: -85.81283569335938 }
],
animationDuration: 0
},
{
visible: true,
template: '<div id="marker4" style="font-size: 12px;color:white">TAMPA' +
'</div>',
dataSource: [
{ latitude: 27.9337540167772, longitude: -81.29908447265625 }
],
animationDuration: 0
},
{
visible: true,
template: '<div id="marker5" style="font-size: 12px;color:white">PROGRESO' +
'</div>',
dataSource: [
{ latitude: 20.62336521195344, longitude: -89.6649169921875 }
],
animationDuration: 0
}
]
}
]
});
maps.appendTo('#container');
};