@syncfusion/ej2-angular-maps 19.4.56 → 19.4.57-105067

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/@syncfusion/ej2-angular-maps.es5.js +866 -866
  2. package/@syncfusion/ej2-angular-maps.es5.js.map +1 -1
  3. package/@syncfusion/ej2-angular-maps.js +771 -771
  4. package/@syncfusion/ej2-angular-maps.js.map +1 -1
  5. package/CHANGELOG.md +2 -0
  6. package/README.md +73 -73
  7. package/dist/ej2-angular-maps.umd.js +857 -865
  8. package/dist/ej2-angular-maps.umd.js.map +1 -1
  9. package/dist/ej2-angular-maps.umd.min.js +1 -10
  10. package/dist/ej2-angular-maps.umd.min.js.map +1 -1
  11. package/ej2-angular-maps.d.ts +5 -5
  12. package/ej2-angular-maps.metadata.json +1 -1
  13. package/package.json +80 -80
  14. package/postinstall/tagchange.js +18 -18
  15. package/public_api.d.ts +1 -1
  16. package/schematics/generators/maps-annotation/images/__path__/__name@dasherize__/compass.svg +197 -197
  17. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +20 -20
  18. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +14 -14
  19. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +57 -57
  20. package/schematics/generators/maps-annotation/schema.json +3 -2
  21. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -3
  22. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -10
  23. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +71 -71
  24. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/assets/population-data.ts +45 -45
  25. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +184 -184
  26. package/schematics/generators/maps-bubble/schema.json +3 -2
  27. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -3
  28. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -8
  29. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +76 -76
  30. package/schematics/generators/maps-color-mapping/schema.json +3 -2
  31. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -3
  32. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -10
  33. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +32 -32
  34. package/schematics/generators/maps-default/schema.json +3 -2
  35. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -3
  36. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -8
  37. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +37 -37
  38. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +184 -184
  39. package/schematics/generators/maps-label/schema.json +3 -2
  40. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -3
  41. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +7 -7
  42. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +101 -101
  43. package/schematics/generators/maps-legend/schema.json +3 -2
  44. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -3
  45. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -10
  46. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +100 -100
  47. package/schematics/generators/maps-marker/schema.json +3 -2
  48. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +18 -18
  49. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -5
  50. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +120 -120
  51. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/assets/map-location.ts +127 -127
  52. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +184 -184
  53. package/schematics/generators/maps-navigation-line/schema.json +3 -2
  54. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -3
  55. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -10
  56. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +32 -32
  57. package/schematics/generators/maps-osm/schema.json +3 -2
  58. package/schematics/ng-add/index.ts +10 -10
  59. package/schematics/ng-add/schema.json +34 -34
  60. package/schematics/ng-add/schema.ts +30 -30
  61. package/schematics/tsconfig.json +25 -25
  62. package/schematics/utils/lib-details.d.ts +2 -2
  63. package/schematics/utils/lib-details.js +2 -2
  64. package/schematics/utils/lib-details.ts +4 -4
  65. package/src/index.d.ts +11 -11
  66. package/src/maps/annotations.directive.d.ts +49 -49
  67. package/src/maps/bubblesettings.directive.d.ts +116 -116
  68. package/src/maps/colormapping.directive.d.ts +71 -71
  69. package/src/maps/initialshapeselection.directive.d.ts +37 -37
  70. package/src/maps/layers.directive.d.ts +151 -147
  71. package/src/maps/maps-all.module.d.ts +19 -19
  72. package/src/maps/maps.component.d.ts +64 -63
  73. package/src/maps/maps.module.d.ts +5 -5
  74. package/src/maps/markersettings.directive.d.ts +149 -149
  75. package/src/maps/navigationlinesettings.directive.d.ts +74 -74
@@ -1,121 +1,121 @@
1
- /* eslint-disable */
2
- import { Component, ViewEncapsulation } from '@angular/core';
3
- import { MapsTheme, Maps, Marker, Zoom, NavigationLine, ILoadEventArgs } from '@syncfusion/ej2-angular-maps';
4
- import { penisular_location, penisular_marker } from './assets/map-location';
5
- import { world_map } from './assets/world-map';
6
- Maps.Inject(Marker, Zoom, NavigationLine);
7
-
8
- /**
9
- * Linea penusular sample
10
- */
11
- @Component({
12
- selector: '<%=dasherize(selector)%>',
13
- templateUrl: '<%=dasherize(name)%>.component.html',
14
- styleUrls: ['<%=dasherize(name)%>.component.css'],
15
- encapsulation: ViewEncapsulation.None
16
- })
17
- export class <%= classify(name) %>Component {
18
-
19
- public titleSettings: object = {
20
- text: 'Shipping sea route between various cities',
21
- titleStyle: { size: '18px' }
22
- };
23
- public load = (args: ILoadEventArgs) => {
24
- let theme: string = location.hash.split('/')[1];
25
- theme = theme ? theme : 'Material';
26
- args.maps.theme = <MapsTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
27
- }
28
- public zoomSettings: object = { enable: false, zoomFactor: 13 };
29
-
30
- public mapsArea: object = { background: '#4863A0' };
31
-
32
- public centerPosition: object = { latitude: 25.54244147012483, longitude: -89.62646484375 };
33
-
34
- public layers: object[] = [
35
- {
36
- shapeData: world_map,
37
- shapeSettings: {
38
- fill: '#789071',
39
- },
40
- navigationLineSettings: penisular_location,
41
- markerSettings: [
42
- {
43
- visible: true,
44
- shape: 'Circle',
45
- fill: 'white',
46
- width: 10,
47
- height: 10,
48
- dataSource: penisular_marker
49
- },
50
- {
51
- visible: true,
52
- template: '<div id="marker1" style="font-size: 12px;color:white">ALTAMIRA' +
53
- '</div>',
54
- dataSource: [
55
- { latitude: 22.403410892712124, longitude: -97.8717041015625, }
56
- ],
57
- animationDuration: 0,
58
- offset: {
59
- x: -35,
60
- y: 0
61
- }
62
- },
63
- {
64
- visible: true,
65
- template: '<div id="marker2" style="font-size: 12px;color:white">HOUSTON' +
66
- '</div>',
67
- dataSource: [
68
- { latitude: 29.756032197482973, longitude: -95.36270141601562 }
69
- ],
70
- animationDuration: 0,
71
- offset: {
72
- x: 0,
73
- y: -15
74
- }
75
- },
76
- {
77
- visible: true,
78
- template: '<div id="marker3" style="font-size: 12px;color:white">PANAMA CITY' +
79
- '</div>',
80
- dataSource: [
81
- { latitude: 30.180747605060766, longitude: -85.81283569335938 }
82
- ],
83
- animationDuration: 0,
84
- offset: {
85
- x: 0,
86
- y: -5
87
- }
88
- },
89
- {
90
- visible: true,
91
- template: '<div id="marker4" style="font-size: 12px;color:white">TAMPA' +
92
- '</div>',
93
- dataSource: [
94
- { latitude: 27.9337540167772, longitude: -82.49908447265625 }
95
- ],
96
- animationDuration: 0,
97
- offset: {
98
- x: 0,
99
- y: -15
100
- }
101
- },
102
- {
103
- visible: true,
104
- template: '<div id="marker5" style="font-size: 12px;color:white">PROGRESO' +
105
- '</div>',
106
- dataSource: [
107
- { latitude: 21.282336521195344, longitude: -89.6649169921875 }
108
- ],
109
- animationDuration: 0,
110
- offset: {
111
- x: 0,
112
- y: 15
113
- }
114
- }
115
- ]
116
- }
117
- ];
118
- constructor() {
119
- //code
120
- };
1
+ /* eslint-disable */
2
+ import { Component, ViewEncapsulation } from '@angular/core';
3
+ import { MapsTheme, Maps, Marker, Zoom, NavigationLine, ILoadEventArgs } from '@syncfusion/ej2-angular-maps';
4
+ import { penisular_location, penisular_marker } from './assets/map-location';
5
+ import { world_map } from './assets/world-map';
6
+ Maps.Inject(Marker, Zoom, NavigationLine);
7
+
8
+ /**
9
+ * Linea penusular sample
10
+ */
11
+ @Component({
12
+ selector: '<%=dasherize(selector)%>',
13
+ templateUrl: '<%=dasherize(name)%>.component.html',
14
+ styleUrls: ['<%=dasherize(name)%>.component.css'],
15
+ encapsulation: ViewEncapsulation.None
16
+ })
17
+ export class <%= classify(name) %>Component {
18
+
19
+ public titleSettings: object = {
20
+ text: 'Shipping sea route between various cities',
21
+ titleStyle: { size: '18px' }
22
+ };
23
+ public load = (args: ILoadEventArgs) => {
24
+ let theme: string = location.hash.split('/')[1];
25
+ theme = theme ? theme : 'Material';
26
+ args.maps.theme = <MapsTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
27
+ }
28
+ public zoomSettings: object = { enable: false, zoomFactor: 13 };
29
+
30
+ public mapsArea: object = { background: '#4863A0' };
31
+
32
+ public centerPosition: object = { latitude: 25.54244147012483, longitude: -89.62646484375 };
33
+
34
+ public layers: object[] = [
35
+ {
36
+ shapeData: world_map,
37
+ shapeSettings: {
38
+ fill: '#789071',
39
+ },
40
+ navigationLineSettings: penisular_location,
41
+ markerSettings: [
42
+ {
43
+ visible: true,
44
+ shape: 'Circle',
45
+ fill: 'white',
46
+ width: 10,
47
+ height: 10,
48
+ dataSource: penisular_marker
49
+ },
50
+ {
51
+ visible: true,
52
+ template: '<div id="marker1" style="font-size: 12px;color:white">ALTAMIRA' +
53
+ '</div>',
54
+ dataSource: [
55
+ { latitude: 22.403410892712124, longitude: -97.8717041015625, }
56
+ ],
57
+ animationDuration: 0,
58
+ offset: {
59
+ x: -35,
60
+ y: 0
61
+ }
62
+ },
63
+ {
64
+ visible: true,
65
+ template: '<div id="marker2" style="font-size: 12px;color:white">HOUSTON' +
66
+ '</div>',
67
+ dataSource: [
68
+ { latitude: 29.756032197482973, longitude: -95.36270141601562 }
69
+ ],
70
+ animationDuration: 0,
71
+ offset: {
72
+ x: 0,
73
+ y: -15
74
+ }
75
+ },
76
+ {
77
+ visible: true,
78
+ template: '<div id="marker3" style="font-size: 12px;color:white">PANAMA CITY' +
79
+ '</div>',
80
+ dataSource: [
81
+ { latitude: 30.180747605060766, longitude: -85.81283569335938 }
82
+ ],
83
+ animationDuration: 0,
84
+ offset: {
85
+ x: 0,
86
+ y: -5
87
+ }
88
+ },
89
+ {
90
+ visible: true,
91
+ template: '<div id="marker4" style="font-size: 12px;color:white">TAMPA' +
92
+ '</div>',
93
+ dataSource: [
94
+ { latitude: 27.9337540167772, longitude: -82.49908447265625 }
95
+ ],
96
+ animationDuration: 0,
97
+ offset: {
98
+ x: 0,
99
+ y: -15
100
+ }
101
+ },
102
+ {
103
+ visible: true,
104
+ template: '<div id="marker5" style="font-size: 12px;color:white">PROGRESO' +
105
+ '</div>',
106
+ dataSource: [
107
+ { latitude: 21.282336521195344, longitude: -89.6649169921875 }
108
+ ],
109
+ animationDuration: 0,
110
+ offset: {
111
+ x: 0,
112
+ y: 15
113
+ }
114
+ }
115
+ ]
116
+ }
117
+ ];
118
+ constructor() {
119
+ //code
120
+ };
121
121
  }
@@ -1,128 +1,128 @@
1
- /**
2
- * Marker location
3
- */
4
-
5
- /* eslint-disable */
6
- export let penisular_marker: any = [
7
- {
8
- latitude: 22.403410892712124,
9
- longitude: -97.8717041015625,
10
- name: 'ALTAMIRA'
11
- },
12
- {
13
- latitude: 29.756032197482973,
14
- longitude: -95.36270141601562,
15
- name: 'HOUSTON'
16
- },
17
- {
18
- latitude: 30.180747605060766,
19
- longitude: -85.81283569335938,
20
- name: 'PANAMA CITY'
21
- },
22
- {
23
- latitude: 27.9337540167772,
24
- longitude: -82.49908447265625,
25
- name: 'TAMPA'
26
- },
27
- {
28
- latitude: 21.282336521195344,
29
- longitude: -89.6649169921875,
30
- name: 'PROGRESO'
31
- }
32
- ]
33
- export let penisular_location: any = [
34
- {
35
- visible: true,
36
- latitude: [22.403410892712124, 29.756032197482973],
37
- longitude: [-97.8717041015625, -95.36270141601562],
38
- angle: 0,
39
- dashArray: 1,
40
- color: 'white',
41
- },
42
- {
43
- visible: true,
44
- angle: 0,
45
- color: 'white',
46
- dashArray: 1,
47
- latitude: [22.403410892712124, 30.180747605060766 ],
48
- longitude: [-97.8717041015625, -85.81283569335938]
49
- },
50
- {
51
- dashArray: 1,
52
- visible: true,
53
- angle: 0,
54
- color: 'white',
55
- latitude: [22.403410892712124, 27.9337540167772],
56
- longitude: [-97.8717041015625, -82.49908447265625]
57
- },
58
- {
59
- dashArray: 1,
60
- visible: true,
61
- angle: 0,
62
- color: 'white',
63
- latitude: [22.403410892712124, 21.282336521195344],
64
- longitude: [-97.8717041015625, -89.6649169921875]
65
- },
66
- {
67
- dashArray: 1,
68
- visible: true,
69
- angle: 0,
70
- color: 'white',
71
- latitude: [29.756032197482973, 21.282336521195344],
72
- longitude: [-95.36270141601562, -89.6649169921875]
73
- },
74
- {
75
- dashArray: 1,
76
- visible: true,
77
- angle: 0,
78
- color: 'white',
79
- latitude: [30.180747605060766, 21.282336521195344],
80
- longitude: [-85.81283569335938, -89.6649169921875]
81
- },
82
- {
83
- dashArray: 1,
84
- visible: true,
85
- angle: 0,
86
- color: 'white',
87
- latitude: [27.9337540167772, 21.282336521195344],
88
- longitude: [-82.49908447265625, -89.6649169921875]
89
- }
90
- ];
91
- export let markerLocation: any = [
92
- { 'name' : 'New Delhi',
93
- 'latitude': 28.6139391,
94
- 'longitude': 77.2090212
95
- }, {
96
- 'name' : 'Mumbai',
97
- 'latitude': 19.0759837,
98
- 'longitude': 72.8776559
99
- }, {
100
- 'name' : 'Chennai',
101
- 'latitude': 13.0826802,
102
- 'longitude': 80.2707184
103
- }, {
104
- 'name' : 'Kolkata',
105
- 'latitude': 22.572646,
106
- 'longitude': 88.363895
107
- }, {
108
- 'name' : 'Kunming',
109
- 'latitude': 24.880095,
110
- 'longitude': 102.832891
111
- }, {
112
- 'name' : 'Beijing',
113
- 'latitude': 39.9041999,
114
- 'longitude': 116.4073963
115
- }, {
116
- 'name' : 'Shanghai',
117
- 'latitude': 31.2303904,
118
- 'longitude': 121.4737021
119
- }, {
120
- 'name' : 'Hong Kong',
121
- 'latitude': 22.396428,
122
- 'longitude': 114.109497
123
- }, {
124
- 'name' : 'Guangzhou',
125
- 'latitude': 23.12911,
126
- 'longitude': 113.264385
127
- },
1
+ /**
2
+ * Marker location
3
+ */
4
+
5
+ /* eslint-disable */
6
+ export let penisular_marker: any = [
7
+ {
8
+ latitude: 22.403410892712124,
9
+ longitude: -97.8717041015625,
10
+ name: 'ALTAMIRA'
11
+ },
12
+ {
13
+ latitude: 29.756032197482973,
14
+ longitude: -95.36270141601562,
15
+ name: 'HOUSTON'
16
+ },
17
+ {
18
+ latitude: 30.180747605060766,
19
+ longitude: -85.81283569335938,
20
+ name: 'PANAMA CITY'
21
+ },
22
+ {
23
+ latitude: 27.9337540167772,
24
+ longitude: -82.49908447265625,
25
+ name: 'TAMPA'
26
+ },
27
+ {
28
+ latitude: 21.282336521195344,
29
+ longitude: -89.6649169921875,
30
+ name: 'PROGRESO'
31
+ }
32
+ ]
33
+ export let penisular_location: any = [
34
+ {
35
+ visible: true,
36
+ latitude: [22.403410892712124, 29.756032197482973],
37
+ longitude: [-97.8717041015625, -95.36270141601562],
38
+ angle: 0,
39
+ dashArray: 1,
40
+ color: 'white',
41
+ },
42
+ {
43
+ visible: true,
44
+ angle: 0,
45
+ color: 'white',
46
+ dashArray: 1,
47
+ latitude: [22.403410892712124, 30.180747605060766 ],
48
+ longitude: [-97.8717041015625, -85.81283569335938]
49
+ },
50
+ {
51
+ dashArray: 1,
52
+ visible: true,
53
+ angle: 0,
54
+ color: 'white',
55
+ latitude: [22.403410892712124, 27.9337540167772],
56
+ longitude: [-97.8717041015625, -82.49908447265625]
57
+ },
58
+ {
59
+ dashArray: 1,
60
+ visible: true,
61
+ angle: 0,
62
+ color: 'white',
63
+ latitude: [22.403410892712124, 21.282336521195344],
64
+ longitude: [-97.8717041015625, -89.6649169921875]
65
+ },
66
+ {
67
+ dashArray: 1,
68
+ visible: true,
69
+ angle: 0,
70
+ color: 'white',
71
+ latitude: [29.756032197482973, 21.282336521195344],
72
+ longitude: [-95.36270141601562, -89.6649169921875]
73
+ },
74
+ {
75
+ dashArray: 1,
76
+ visible: true,
77
+ angle: 0,
78
+ color: 'white',
79
+ latitude: [30.180747605060766, 21.282336521195344],
80
+ longitude: [-85.81283569335938, -89.6649169921875]
81
+ },
82
+ {
83
+ dashArray: 1,
84
+ visible: true,
85
+ angle: 0,
86
+ color: 'white',
87
+ latitude: [27.9337540167772, 21.282336521195344],
88
+ longitude: [-82.49908447265625, -89.6649169921875]
89
+ }
90
+ ];
91
+ export let markerLocation: any = [
92
+ { 'name' : 'New Delhi',
93
+ 'latitude': 28.6139391,
94
+ 'longitude': 77.2090212
95
+ }, {
96
+ 'name' : 'Mumbai',
97
+ 'latitude': 19.0759837,
98
+ 'longitude': 72.8776559
99
+ }, {
100
+ 'name' : 'Chennai',
101
+ 'latitude': 13.0826802,
102
+ 'longitude': 80.2707184
103
+ }, {
104
+ 'name' : 'Kolkata',
105
+ 'latitude': 22.572646,
106
+ 'longitude': 88.363895
107
+ }, {
108
+ 'name' : 'Kunming',
109
+ 'latitude': 24.880095,
110
+ 'longitude': 102.832891
111
+ }, {
112
+ 'name' : 'Beijing',
113
+ 'latitude': 39.9041999,
114
+ 'longitude': 116.4073963
115
+ }, {
116
+ 'name' : 'Shanghai',
117
+ 'latitude': 31.2303904,
118
+ 'longitude': 121.4737021
119
+ }, {
120
+ 'name' : 'Hong Kong',
121
+ 'latitude': 22.396428,
122
+ 'longitude': 114.109497
123
+ }, {
124
+ 'name' : 'Guangzhou',
125
+ 'latitude': 23.12911,
126
+ 'longitude': 113.264385
127
+ },
128
128
  ]