@syncfusion/ej2-angular-maps 22.1.34 → 22.1.39

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 (118) hide show
  1. package/README.md +107 -45
  2. package/esm2020/src/maps/annotations.directive.mjs +2 -2
  3. package/esm2020/src/maps/bubblesettings.directive.mjs +2 -2
  4. package/esm2020/src/maps/colormapping.directive.mjs +2 -2
  5. package/esm2020/src/maps/initialshapeselection.directive.mjs +2 -2
  6. package/esm2020/src/maps/layers.directive.mjs +2 -2
  7. package/esm2020/src/maps/maps.component.mjs +5 -4
  8. package/esm2020/src/maps/markersettings.directive.mjs +4 -4
  9. package/esm2020/src/maps/navigationlinesettings.directive.mjs +2 -2
  10. package/fesm2015/syncfusion-ej2-angular-maps.mjs +13 -12
  11. package/fesm2015/syncfusion-ej2-angular-maps.mjs.map +1 -1
  12. package/fesm2020/syncfusion-ej2-angular-maps.mjs +13 -12
  13. package/fesm2020/syncfusion-ej2-angular-maps.mjs.map +1 -1
  14. package/package.json +7 -28
  15. package/schematics/collection.json +55 -0
  16. package/schematics/generators/maps-annotation/images/__path__/__name@dasherize__/compass.svg +197 -0
  17. package/schematics/generators/maps-annotation/index.d.ts +3 -0
  18. package/schematics/generators/maps-annotation/index.js +8 -0
  19. package/schematics/generators/maps-annotation/sample-details.d.ts +5 -0
  20. package/schematics/generators/maps-annotation/sample-details.js +7 -0
  21. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +21 -0
  22. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +15 -0
  23. package/schematics/generators/maps-annotation/schema.d.ts +3 -0
  24. package/schematics/generators/maps-annotation/schema.js +2 -0
  25. package/schematics/generators/maps-annotation/schema.json +125 -0
  26. package/schematics/generators/maps-bubble/index.d.ts +3 -0
  27. package/schematics/generators/maps-bubble/index.js +8 -0
  28. package/schematics/generators/maps-bubble/sample-details.d.ts +5 -0
  29. package/schematics/generators/maps-bubble/sample-details.js +7 -0
  30. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  31. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
  32. package/schematics/generators/maps-bubble/schema.d.ts +3 -0
  33. package/schematics/generators/maps-bubble/schema.js +2 -0
  34. package/schematics/generators/maps-bubble/schema.json +125 -0
  35. package/schematics/generators/maps-color-mapping/images/__path__/__name@dasherize__/ballon.png +0 -0
  36. package/schematics/generators/maps-color-mapping/index.d.ts +3 -0
  37. package/schematics/generators/maps-color-mapping/index.js +8 -0
  38. package/schematics/generators/maps-color-mapping/sample-details.d.ts +5 -0
  39. package/schematics/generators/maps-color-mapping/sample-details.js +7 -0
  40. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  41. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
  42. package/schematics/generators/maps-color-mapping/schema.d.ts +3 -0
  43. package/schematics/generators/maps-color-mapping/schema.js +2 -0
  44. package/schematics/generators/maps-color-mapping/schema.json +125 -0
  45. package/schematics/generators/maps-default/images/__path__/__name@dasherize__/ballon.png +0 -0
  46. package/schematics/generators/maps-default/index.d.ts +3 -0
  47. package/schematics/generators/maps-default/index.js +8 -0
  48. package/schematics/generators/maps-default/sample-details.d.ts +5 -0
  49. package/schematics/generators/maps-default/sample-details.js +7 -0
  50. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  51. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
  52. package/schematics/generators/maps-default/schema.d.ts +3 -0
  53. package/schematics/generators/maps-default/schema.js +2 -0
  54. package/schematics/generators/maps-default/schema.json +125 -0
  55. package/schematics/generators/maps-label/index.d.ts +3 -0
  56. package/schematics/generators/maps-label/index.js +8 -0
  57. package/schematics/generators/maps-label/sample-details.d.ts +5 -0
  58. package/schematics/generators/maps-label/sample-details.js +7 -0
  59. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  60. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
  61. package/schematics/generators/maps-label/schema.d.ts +3 -0
  62. package/schematics/generators/maps-label/schema.js +2 -0
  63. package/schematics/generators/maps-label/schema.json +125 -0
  64. package/schematics/generators/maps-legend/images/__path__/__name@dasherize__/ballon.png +0 -0
  65. package/schematics/generators/maps-legend/index.d.ts +3 -0
  66. package/schematics/generators/maps-legend/index.js +8 -0
  67. package/schematics/generators/maps-legend/sample-details.d.ts +5 -0
  68. package/schematics/generators/maps-legend/sample-details.js +7 -0
  69. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  70. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
  71. package/schematics/generators/maps-legend/schema.d.ts +3 -0
  72. package/schematics/generators/maps-legend/schema.js +2 -0
  73. package/schematics/generators/maps-legend/schema.json +125 -0
  74. package/schematics/generators/maps-marker/images/__path__/__name@dasherize__/ballon.png +0 -0
  75. package/schematics/generators/maps-marker/index.d.ts +3 -0
  76. package/schematics/generators/maps-marker/index.js +8 -0
  77. package/schematics/generators/maps-marker/sample-details.d.ts +5 -0
  78. package/schematics/generators/maps-marker/sample-details.js +7 -0
  79. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  80. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
  81. package/schematics/generators/maps-marker/schema.d.ts +3 -0
  82. package/schematics/generators/maps-marker/schema.js +2 -0
  83. package/schematics/generators/maps-marker/schema.json +125 -0
  84. package/schematics/generators/maps-navigation-line/index.d.ts +3 -0
  85. package/schematics/generators/maps-navigation-line/index.js +8 -0
  86. package/schematics/generators/maps-navigation-line/sample-details.d.ts +5 -0
  87. package/schematics/generators/maps-navigation-line/sample-details.js +7 -0
  88. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +19 -0
  89. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +6 -0
  90. package/schematics/generators/maps-navigation-line/schema.d.ts +3 -0
  91. package/schematics/generators/maps-navigation-line/schema.js +2 -0
  92. package/schematics/generators/maps-navigation-line/schema.json +125 -0
  93. package/schematics/generators/maps-osm/index.d.ts +3 -0
  94. package/schematics/generators/maps-osm/index.js +8 -0
  95. package/schematics/generators/maps-osm/sample-details.d.ts +5 -0
  96. package/schematics/generators/maps-osm/sample-details.js +7 -0
  97. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  98. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
  99. package/schematics/generators/maps-osm/schema.d.ts +3 -0
  100. package/schematics/generators/maps-osm/schema.js +2 -0
  101. package/schematics/generators/maps-osm/schema.json +125 -0
  102. package/schematics/ng-add/index.d.ts +3 -0
  103. package/schematics/ng-add/index.js +9 -0
  104. package/schematics/ng-add/schema.d.ts +13 -0
  105. package/schematics/ng-add/schema.js +2 -0
  106. package/schematics/ng-add/schema.json +34 -0
  107. package/schematics/tsconfig.json +25 -0
  108. package/schematics/utils/lib-details.d.ts +4 -0
  109. package/schematics/utils/lib-details.js +6 -0
  110. package/schematics/utils/lib-details.ts +2 -2
  111. package/src/maps/annotations.directive.d.ts +11 -7
  112. package/src/maps/bubblesettings.directive.d.ts +20 -20
  113. package/src/maps/colormapping.directive.d.ts +9 -9
  114. package/src/maps/initialshapeselection.directive.d.ts +3 -3
  115. package/src/maps/layers.directive.d.ts +38 -29
  116. package/src/maps/maps.component.d.ts +6 -2
  117. package/src/maps/markersettings.directive.d.ts +34 -27
  118. package/src/maps/navigationlinesettings.directive.d.ts +11 -10
@@ -2,7 +2,7 @@ import { ViewContainerRef } from '@angular/core';
2
2
  import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
- * Layer Directive
5
+ * Represents the directive to define the markers in the maps.
6
6
  * ```html
7
7
  * <e-layers>
8
8
  * <e-layer>
@@ -18,30 +18,30 @@ export declare class MarkerDirective extends ComplexBase<MarkerDirective> {
18
18
  private viewContainerRef;
19
19
  directivePropList: any;
20
20
  /**
21
- * Sets and gets the delay time for the animation in marker.
21
+ * Gets or sets the delay time for the animation in marker.
22
22
  * @default 0
23
23
  */
24
24
  animationDelay: any;
25
25
  /**
26
- * Sets and gets the duration time for animating the marker.
26
+ * Gets or sets the duration time for animating the marker.
27
27
  * @default 1000
28
28
  */
29
29
  animationDuration: any;
30
30
  /**
31
- * Sets and gets the options for customizing the color and width of the border for the marker in maps.
31
+ * Gets or sets the options for customizing the style properties of the border of the marker in maps.
32
32
  */
33
33
  border: any;
34
34
  /**
35
- * Sets and gets the value path from the marker data source to apply color for the marker.
35
+ * Gets or sets the field name from the marker data source based on which the color is applied for the marker.
36
36
  * @default null
37
37
  */
38
38
  colorValuePath: any;
39
39
  /**
40
- * Sets and gets the dash-array for the marker.
40
+ * Gets or sets the dash-array for the marker.
41
41
  */
42
42
  dashArray: any;
43
43
  /**
44
- * Sets and gets the data source for the marker.
44
+ * Gets or sets the data source for the marker.
45
45
  * The data source for the marker will contain latitude and longitude values to specify the location
46
46
  * of the marker.
47
47
  * The data source can contain data such as color, shape, and other details that can be bound to the color, shape,
@@ -51,97 +51,104 @@ export declare class MarkerDirective extends ComplexBase<MarkerDirective> {
51
51
  */
52
52
  dataSource: any;
53
53
  /**
54
- * Sets and gets the color for the marker in maps.
54
+ * Enables or disables marker drag and drop functionality at any location on the map.
55
+ * @default false
56
+ */
57
+ enableDrag: any;
58
+ /**
59
+ * Gets or sets the color for the marker in maps.
55
60
  * @default '#FF471A'
56
61
  */
57
62
  fill: any;
58
63
  /**
59
- * Sets and gets the height of the marker in maps.
64
+ * Gets or sets the height of the marker in maps.
60
65
  * @default 10
61
66
  */
62
67
  height: any;
63
68
  /**
64
- * Sets and gets the options to customize the marker while the mouse has hovered on the marker in maps.
69
+ * Gets or sets the options to customize the marker when the mouse hovers over the markers in maps.
65
70
  */
66
71
  highlightSettings: any;
67
72
  /**
68
- * Sets and gets the URL for rendering the marker as image.
73
+ * Gets or sets the URL for rendering the marker as image. This property acts as image source for all the markers in a marker settings.
69
74
  */
70
75
  imageUrl: any;
71
76
  /**
72
- * Sets and gets the value path from the marker data source for the image of the marker.
77
+ * Gets or sets the field name from the marker data source based on which the image source for the image type marker is got individually.
73
78
  * @default null
74
79
  */
75
80
  imageUrlValuePath: any;
76
81
  /**
77
- * To select the shape at the rendering time.
82
+ * Gets or sets the options to select the markers at the initial rendering time of the maps.
83
+ * The initial selection of markers will be performed only when the selection functionality of marker is enabled.
78
84
  */
79
85
  initialMarkerSelection: any;
80
86
  /**
81
- * Defines the value path from the marker data source for setting latitude for a set of markers.
87
+ * Defines the field name from the marker data source for setting latitude for a set of markers.
82
88
  */
83
89
  latitudeValuePath: any;
84
90
  /**
85
- * Sets and gets the text for the legend from the marker data source.
91
+ * Gets or sets the field name from the marker data source to render legend item text for the marker legend.
86
92
  * @default ''
87
93
  */
88
94
  legendText: any;
89
95
  /**
90
- * Defines the value path from the marker data source for setting longitude for a set of markers.
96
+ * Defines the field name from the marker data source for setting longitude for a set of markers.
91
97
  */
92
98
  longitudeValuePath: any;
93
99
  /**
94
- * Sets and gets the position to move the marker by setting specific value.
100
+ * Gets or sets the offset value from which the marker must be rendered from the intended position.
95
101
  */
96
102
  offset: any;
97
103
  /**
98
- * Sets and gets the opacity for the marker in maps.
104
+ * Gets or sets the opacity for the marker in maps.
99
105
  * @default 1
100
106
  */
101
107
  opacity: any;
102
108
  /**
103
- * Sets and gets the query to select particular data from the marker data.
109
+ * Gets or sets the query to select particular data from the marker data source.
104
110
  * This property is applicable only when the data source is created by data manager.
105
111
  * @default null
106
112
  */
107
113
  query: any;
108
114
  /**
109
- * Sets and gets the options to customize the marker while selecting the marker in maps.
115
+ * Gets or sets the options to customize the marker while selecting the marker in maps.
110
116
  */
111
117
  selectionSettings: any;
112
118
  /**
113
- * Sets and gets the shape of the marker in maps.
119
+ * Gets or sets the shape of the marker in maps.
114
120
  * @default Balloon
115
121
  */
116
122
  shape: any;
117
123
  /**
118
- * Sets and gets the value path from the marker data source to set the shape of the marker.
124
+ * Gets or sets the field name from the marker data source based on which the shape for individual markers are set.
119
125
  * @default null
120
126
  */
121
127
  shapeValuePath: any;
122
128
  /**
123
- * Sets and gets the options to customize the tooltip for the marker in maps.
129
+ * Gets or sets the options to customize the tooltip of the marker in maps.
124
130
  */
125
131
  tooltipSettings: any;
126
132
  /**
127
- * Enables or disables the visibility state of the marker based on the marker data source in maps.
133
+ * Enables or disables the visibility of the markers in maps.
128
134
  * @default false
129
135
  */
130
136
  visible: any;
131
137
  /**
132
- * Sets and gets the width of the marker in maps.
138
+ * Gets or sets the width of the marker in maps.
133
139
  * @default 10
134
140
  */
135
141
  width: any;
136
142
  /**
137
- * Sets and gets the template for the marker.
143
+ * Gets or sets the template for the marker to render custom elements.
138
144
  * @default null
145
+ * @asptype string
139
146
  */
140
147
  template: any;
141
148
  tooltipSettings_template: any;
142
149
  constructor(viewContainerRef: ViewContainerRef);
143
150
  static ɵfac: i0.ɵɵFactoryDeclaration<MarkerDirective, never>;
144
- static ɵdir: i0.ɵɵDirectiveDeclaration<MarkerDirective, "e-layer>e-markerSettings>e-markerSetting", never, { "animationDelay": "animationDelay"; "animationDuration": "animationDuration"; "border": "border"; "colorValuePath": "colorValuePath"; "dashArray": "dashArray"; "dataSource": "dataSource"; "fill": "fill"; "height": "height"; "highlightSettings": "highlightSettings"; "imageUrl": "imageUrl"; "imageUrlValuePath": "imageUrlValuePath"; "initialMarkerSelection": "initialMarkerSelection"; "latitudeValuePath": "latitudeValuePath"; "legendText": "legendText"; "longitudeValuePath": "longitudeValuePath"; "offset": "offset"; "opacity": "opacity"; "query": "query"; "selectionSettings": "selectionSettings"; "shape": "shape"; "shapeValuePath": "shapeValuePath"; "template": "template"; "tooltipSettings": "tooltipSettings"; "visible": "visible"; "width": "width"; }, {}, ["template", "tooltipSettings_template"]>;
151
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MarkerDirective, "e-layer>e-markerSettings>e-markerSetting", never, { "animationDelay": "animationDelay"; "animationDuration": "animationDuration"; "border": "border"; "colorValuePath": "colorValuePath"; "dashArray": "dashArray"; "dataSource": "dataSource"; "enableDrag": "enableDrag"; "fill": "fill"; "height": "height"; "highlightSettings": "highlightSettings"; "imageUrl": "imageUrl"; "imageUrlValuePath": "imageUrlValuePath"; "initialMarkerSelection": "initialMarkerSelection"; "latitudeValuePath": "latitudeValuePath"; "legendText": "legendText"; "longitudeValuePath": "longitudeValuePath"; "offset": "offset"; "opacity": "opacity"; "query": "query"; "selectionSettings": "selectionSettings"; "shape": "shape"; "shapeValuePath": "shapeValuePath"; "template": "template"; "tooltipSettings": "tooltipSettings"; "visible": "visible"; "width": "width"; }, {}, ["template", "tooltipSettings_template"]>;
145
152
  }
146
153
  /**
147
154
  * Marker Array Directive
@@ -2,7 +2,7 @@ import { ViewContainerRef } from '@angular/core';
2
2
  import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
- * Layer Directive
5
+ * Represents the directive to define the navigation lines in the maps.
6
6
  * ```html
7
7
  * <e-layers>
8
8
  * <e-layer>
@@ -18,39 +18,40 @@ export declare class NavigationLineDirective extends ComplexBase<NavigationLineD
18
18
  private viewContainerRef;
19
19
  directivePropList: any;
20
20
  /**
21
- * Sets and gets the angle of curve connecting different locations in maps.
21
+ * Gets or sets the angle of the curve connecting different locations in maps.
22
22
  * @default 0
23
23
  */
24
24
  angle: any;
25
25
  /**
26
- * Sets and gets the options to customize the arrow for the navigation line in maps.
26
+ * Gets or sets the options to customize the arrow for the navigation line in maps.
27
27
  */
28
28
  arrowSettings: any;
29
29
  /**
30
- * Sets and gets the color for the navigation lines in maps.
30
+ * Gets or sets the color for the navigation lines in maps.
31
+ * @default 'black'
31
32
  */
32
33
  color: any;
33
34
  /**
34
- * Sets and gets the dash-array for the navigation lines drawn in maps.
35
+ * Gets or sets the dash-array for the navigation lines drawn in maps.
35
36
  * @default ''
36
37
  */
37
38
  dashArray: any;
38
39
  /**
39
- * Sets and gets the highlight settings of the navigation line in maps.
40
+ * Gets or sets the highlight settings of the navigation line in maps.
40
41
  */
41
42
  highlightSettings: any;
42
43
  /**
43
- * Sets and gets the latitude value for the navigation lines drawn in maps.
44
+ * Gets or sets the latitude value for the navigation lines to be drawn in maps.
44
45
  * @default []
45
46
  */
46
47
  latitude: any;
47
48
  /**
48
- * Sets and gets the longitude for the navigation lines drawn in maps.
49
+ * Gets or sets the longitude for the navigation lines to be drawn in maps.
49
50
  * @default []
50
51
  */
51
52
  longitude: any;
52
53
  /**
53
- * Sets and gets the selection settings of the navigation line in maps.
54
+ * Gets or sets the selection settings of the navigation line in maps.
54
55
  */
55
56
  selectionSettings: any;
56
57
  /**
@@ -59,7 +60,7 @@ export declare class NavigationLineDirective extends ComplexBase<NavigationLineD
59
60
  */
60
61
  visible: any;
61
62
  /**
62
- * Sets and gets the width of the navigation lines in maps.
63
+ * Gets or sets the width of the navigation lines in maps.
63
64
  * @default 1
64
65
  */
65
66
  width: any;