@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,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema",
3
- "id": "maps-bubble",
3
+ "$id": "EJ2SchemaTemplateID",
4
4
  "title": "maps-bubble",
5
5
  "type": "object",
6
6
  "properties": {
@@ -120,5 +120,6 @@
120
120
  },
121
121
  "required": [
122
122
  "name"
123
- ]
123
+ ],
124
+ "id": "maps-bubble"
124
125
  }
@@ -1,3 +1,3 @@
1
- .control-section {
2
- min-height: 450px;
3
- }
1
+ .control-section {
2
+ min-height: 450px;
3
+ }
@@ -1,8 +1,8 @@
1
- <div class="control-section">
2
- <div class="col-lg-9">
3
- <ejs-maps id='maps' #maps style="display:block;" [zoomSettings]='zoomSettings' [layers]='layers' [legendSettings]="legendSettings"
4
- [titleSettings]="titleSettings" (load)="load($event)">
5
- </ejs-maps>
6
- </div>
7
-
8
-
1
+ <div class="control-section">
2
+ <div class="col-lg-9">
3
+ <ejs-maps id='maps' #maps style="display:block;" [zoomSettings]='zoomSettings' [layers]='layers' [legendSettings]="legendSettings"
4
+ [titleSettings]="titleSettings" (load)="load($event)">
5
+ </ejs-maps>
6
+ </div>
7
+
8
+
@@ -1,77 +1,77 @@
1
- /* eslint-disable */
2
- import { Component, ViewEncapsulation, ViewChild } from '@angular/core';
3
- import { MapsTheme, Maps, Zoom, Legend, MapsTooltip, ILoadEventArgs } from '@syncfusion/ej2-angular-maps';
4
- import { world_map } from './assets/world-map';
5
-
6
- Maps.Inject(Zoom, Legend, MapsTooltip);
7
- @Component({
8
- selector: '<%=dasherize(selector)%>',
9
- templateUrl: '<%=dasherize(name)%>.component.html',
10
- styleUrls: ['<%=dasherize(name)%>.component.css'],
11
- encapsulation: ViewEncapsulation.None
12
- })
13
- export class <%= classify(name) %>Component {
14
- @ViewChild('maps')
15
- public maps: Maps;
16
- public load = (args: ILoadEventArgs) => {
17
- let theme: string = location.hash.split('/')[1];
18
- theme = theme ? theme : 'Material';
19
- args.maps.theme = <MapsTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
20
- }
21
- public zoomSettings: object= {
22
- enable: false
23
- };
24
- public legendSettings: object = { visible: true };
25
-
26
- public titleSettings: object = {
27
- text: 'Members of the UN Security Council',
28
- titleStyle: { size: '16px' },
29
- subtitleSettings: {
30
- text: '- In 2017',
31
- titleStyle: { alignment: 'Far' }
32
- }
33
- };
34
-
35
- public layers: object[] = [
36
- {
37
- shapeData: world_map,
38
- shapeDataPath: 'Country',
39
- shapePropertyPath: 'name',
40
- dataSource : [
41
- { Country: 'China', Membership: 'Permanent' },
42
- { Country: 'France', Membership: 'Permanent' },
43
- { Country: 'Russia', Membership: 'Permanent' },
44
- { Country: 'United Kingdom', Membership: 'Permanent' },
45
- { Country: 'United States', Membership: 'Permanent' },
46
- { Country: 'Bolivia', Membership: 'Non-Permanent' },
47
- { Country: 'Eq. Guinea', Membership: 'Non-Permanent' },
48
- { Country: 'Ethiopia', Membership: 'Non-Permanent' },
49
- { Country: 'Côte d Ivoire', Membership: 'Permanent' },
50
- { Country: 'Kazakhstan', Membership: 'Non-Permanent' },
51
- { Country: 'Kuwait', Membership: 'Non-Permanent' },
52
- { Country: 'Netherlands', Membership: 'Non-Permanent' },
53
- { Country: 'Peru', Membership: 'Non-Permanent' },
54
- { Country: 'Poland', Membership: 'Non-Permanent' },
55
- { Country: 'Sweden', Membership: 'Non-Permanent' },
56
- ],
57
- tooltipSettings: {
58
- visible: true,
59
- valuePath: 'Country',
60
- },
61
- shapeSettings: {
62
- fill: '#E5E5E5',
63
- colorMapping: [
64
- {
65
- value: 'Permanent',
66
- color: '#EDB46F'
67
- },
68
- {
69
- color: '#F1931B',
70
- value: 'Non-Permanent'
71
- }
72
- ],
73
- colorValuePath: 'Membership'
74
- }
75
- }
76
- ];
1
+ /* eslint-disable */
2
+ import { Component, ViewEncapsulation, ViewChild } from '@angular/core';
3
+ import { MapsTheme, Maps, Zoom, Legend, MapsTooltip, ILoadEventArgs } from '@syncfusion/ej2-angular-maps';
4
+ import { world_map } from './assets/world-map';
5
+
6
+ Maps.Inject(Zoom, Legend, MapsTooltip);
7
+ @Component({
8
+ selector: '<%=dasherize(selector)%>',
9
+ templateUrl: '<%=dasherize(name)%>.component.html',
10
+ styleUrls: ['<%=dasherize(name)%>.component.css'],
11
+ encapsulation: ViewEncapsulation.None
12
+ })
13
+ export class <%= classify(name) %>Component {
14
+ @ViewChild('maps')
15
+ public maps: Maps;
16
+ public load = (args: ILoadEventArgs) => {
17
+ let theme: string = location.hash.split('/')[1];
18
+ theme = theme ? theme : 'Material';
19
+ args.maps.theme = <MapsTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
20
+ }
21
+ public zoomSettings: object= {
22
+ enable: false
23
+ };
24
+ public legendSettings: object = { visible: true };
25
+
26
+ public titleSettings: object = {
27
+ text: 'Members of the UN Security Council',
28
+ titleStyle: { size: '16px' },
29
+ subtitleSettings: {
30
+ text: '- In 2017',
31
+ titleStyle: { alignment: 'Far' }
32
+ }
33
+ };
34
+
35
+ public layers: object[] = [
36
+ {
37
+ shapeData: world_map,
38
+ shapeDataPath: 'Country',
39
+ shapePropertyPath: 'name',
40
+ dataSource : [
41
+ { Country: 'China', Membership: 'Permanent' },
42
+ { Country: 'France', Membership: 'Permanent' },
43
+ { Country: 'Russia', Membership: 'Permanent' },
44
+ { Country: 'United Kingdom', Membership: 'Permanent' },
45
+ { Country: 'United States', Membership: 'Permanent' },
46
+ { Country: 'Bolivia', Membership: 'Non-Permanent' },
47
+ { Country: 'Eq. Guinea', Membership: 'Non-Permanent' },
48
+ { Country: 'Ethiopia', Membership: 'Non-Permanent' },
49
+ { Country: 'Côte d Ivoire', Membership: 'Permanent' },
50
+ { Country: 'Kazakhstan', Membership: 'Non-Permanent' },
51
+ { Country: 'Kuwait', Membership: 'Non-Permanent' },
52
+ { Country: 'Netherlands', Membership: 'Non-Permanent' },
53
+ { Country: 'Peru', Membership: 'Non-Permanent' },
54
+ { Country: 'Poland', Membership: 'Non-Permanent' },
55
+ { Country: 'Sweden', Membership: 'Non-Permanent' },
56
+ ],
57
+ tooltipSettings: {
58
+ visible: true,
59
+ valuePath: 'Country',
60
+ },
61
+ shapeSettings: {
62
+ fill: '#E5E5E5',
63
+ colorMapping: [
64
+ {
65
+ value: 'Permanent',
66
+ color: '#EDB46F'
67
+ },
68
+ {
69
+ color: '#F1931B',
70
+ value: 'Non-Permanent'
71
+ }
72
+ ],
73
+ colorValuePath: 'Membership'
74
+ }
75
+ }
76
+ ];
77
77
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema",
3
- "id": "maps-color-mapping",
3
+ "$id": "EJ2SchemaTemplateID",
4
4
  "title": "maps-color-mapping",
5
5
  "type": "object",
6
6
  "properties": {
@@ -120,5 +120,6 @@
120
120
  },
121
121
  "required": [
122
122
  "name"
123
- ]
123
+ ],
124
+ "id": "maps-color-mapping"
124
125
  }
@@ -1,3 +1,3 @@
1
- .control-section {
2
- min-height: 450px;
3
- }
1
+ .control-section {
2
+ min-height: 450px;
3
+ }
@@ -1,10 +1,10 @@
1
- <div class="control-section">
2
- <div align='center'>
3
- <ejs-maps id='container' style="display:block;" [zoomSettings]='zoomSettings' [layers]='layers'
4
- [titleSettings] = "titleSettings"
5
- (load)="load($event)">
6
- </ejs-maps>
7
- </div>
8
- </div>
9
-
10
-
1
+ <div class="control-section">
2
+ <div align='center'>
3
+ <ejs-maps id='container' style="display:block;" [zoomSettings]='zoomSettings' [layers]='layers'
4
+ [titleSettings] = "titleSettings"
5
+ (load)="load($event)">
6
+ </ejs-maps>
7
+ </div>
8
+ </div>
9
+
10
+
@@ -1,33 +1,33 @@
1
- /* eslint-disable */
2
- import { Component, ViewEncapsulation } from '@angular/core';
3
- import { MapsTheme, Maps, Legend, Marker, MapsTooltip, ILoadEventArgs } from '@syncfusion/ej2-angular-maps';
4
- import { world_map } from './assets/world-map';
5
-
6
- @Component({
7
- selector: '<%=dasherize(selector)%>',
8
- templateUrl: '<%=dasherize(name)%>.component.html',
9
- styleUrls: ['<%=dasherize(name)%>.component.css'],
10
- encapsulation: ViewEncapsulation.None
11
- })
12
- export class <%= classify(name) %>Component {
13
- titleSettings: object = {
14
- text: 'World Map',
15
- textStyle: {
16
- size: '16px'
17
- }
18
- };
19
- public zoomSettings: object = {
20
- enable: true
21
- };
22
- public layers: object[] = [{
23
- shapeData: world_map
24
- }];
25
- public load = (args: ILoadEventArgs) => {
26
- let theme: string = location.hash.split('/')[1];
27
- theme = theme ? theme : 'Material';
28
- args.maps.theme = <MapsTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
29
- }
30
- constructor() {
31
- //code
32
- };
1
+ /* eslint-disable */
2
+ import { Component, ViewEncapsulation } from '@angular/core';
3
+ import { MapsTheme, Maps, Legend, Marker, MapsTooltip, ILoadEventArgs } from '@syncfusion/ej2-angular-maps';
4
+ import { world_map } from './assets/world-map';
5
+
6
+ @Component({
7
+ selector: '<%=dasherize(selector)%>',
8
+ templateUrl: '<%=dasherize(name)%>.component.html',
9
+ styleUrls: ['<%=dasherize(name)%>.component.css'],
10
+ encapsulation: ViewEncapsulation.None
11
+ })
12
+ export class <%= classify(name) %>Component {
13
+ titleSettings: object = {
14
+ text: 'World Map',
15
+ textStyle: {
16
+ size: '16px'
17
+ }
18
+ };
19
+ public zoomSettings: object = {
20
+ enable: true
21
+ };
22
+ public layers: object[] = [{
23
+ shapeData: world_map
24
+ }];
25
+ public load = (args: ILoadEventArgs) => {
26
+ let theme: string = location.hash.split('/')[1];
27
+ theme = theme ? theme : 'Material';
28
+ args.maps.theme = <MapsTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
29
+ }
30
+ constructor() {
31
+ //code
32
+ };
33
33
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema",
3
- "id": "maps-default",
3
+ "$id": "EJ2SchemaTemplateID",
4
4
  "title": "maps-default",
5
5
  "type": "object",
6
6
  "properties": {
@@ -120,5 +120,6 @@
120
120
  },
121
121
  "required": [
122
122
  "name"
123
- ]
123
+ ],
124
+ "id": "maps-default"
124
125
  }
@@ -1,3 +1,3 @@
1
- .control-section {
2
- min-height: 450px;
3
- }
1
+ .control-section {
2
+ min-height: 450px;
3
+ }
@@ -1,8 +1,8 @@
1
- <div class="control-section">
2
- <div align='center'>
3
- <ejs-maps id='maps' #maps style="display:block;" [zoomSettings]='zoomSettings' [layers]='layers' (load)="load($event)">
4
- </ejs-maps>
5
- </div>
6
- </div>
7
-
8
-
1
+ <div class="control-section">
2
+ <div align='center'>
3
+ <ejs-maps id='maps' #maps style="display:block;" [zoomSettings]='zoomSettings' [layers]='layers' (load)="load($event)">
4
+ </ejs-maps>
5
+ </div>
6
+ </div>
7
+
8
+
@@ -1,38 +1,38 @@
1
- /* eslint-disable */
2
- import { Component, ViewEncapsulation } from '@angular/core';
3
- import { MapsTheme, Maps, DataLabel, ILoadEventArgs } from '@syncfusion/ej2-angular-maps';
4
- import { world_map } from './assets/world-map';
5
- Maps.Inject(DataLabel);
6
- @Component({
7
- selector: '<%=dasherize(selector)%>',
8
- templateUrl: '<%=dasherize(name)%>.component.html',
9
- styleUrls: ['<%=dasherize(name)%>.component.css'],
10
- encapsulation: ViewEncapsulation.None
11
- })
12
- export class <%= classify(name) %>Component {
13
- titleSettings: object = {
14
- text: 'World Map',
15
- textStyle: {
16
- size: '16px'
17
- }
18
- };
19
- public zoomSettings: object = {
20
- enable: true
21
- };
22
- public layers: object[] = [{
23
- shapeData: world_map,
24
- dataLabelSettings: {
25
- visible: true,
26
- labelPath: 'name',
27
- smartLabelMode: 'Trim'
28
- },
29
- }];
30
- public load = (args: ILoadEventArgs) => {
31
- let theme: string = location.hash.split('/')[1];
32
- theme = theme ? theme : 'Material';
33
- args.maps.theme = <MapsTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
34
- }
35
- constructor() {
36
- //code
37
- };
1
+ /* eslint-disable */
2
+ import { Component, ViewEncapsulation } from '@angular/core';
3
+ import { MapsTheme, Maps, DataLabel, ILoadEventArgs } from '@syncfusion/ej2-angular-maps';
4
+ import { world_map } from './assets/world-map';
5
+ Maps.Inject(DataLabel);
6
+ @Component({
7
+ selector: '<%=dasherize(selector)%>',
8
+ templateUrl: '<%=dasherize(name)%>.component.html',
9
+ styleUrls: ['<%=dasherize(name)%>.component.css'],
10
+ encapsulation: ViewEncapsulation.None
11
+ })
12
+ export class <%= classify(name) %>Component {
13
+ titleSettings: object = {
14
+ text: 'World Map',
15
+ textStyle: {
16
+ size: '16px'
17
+ }
18
+ };
19
+ public zoomSettings: object = {
20
+ enable: true
21
+ };
22
+ public layers: object[] = [{
23
+ shapeData: world_map,
24
+ dataLabelSettings: {
25
+ visible: true,
26
+ labelPath: 'name',
27
+ smartLabelMode: 'Trim'
28
+ },
29
+ }];
30
+ public load = (args: ILoadEventArgs) => {
31
+ let theme: string = location.hash.split('/')[1];
32
+ theme = theme ? theme : 'Material';
33
+ args.maps.theme = <MapsTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
34
+ }
35
+ constructor() {
36
+ //code
37
+ };
38
38
  }