@syncfusion/ej2-maps 19.4.53 → 19.4.56-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 (84) hide show
  1. package/.eslintrc.json +18 -3
  2. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +72 -72
  3. package/.github/PULL_REQUEST_TEMPLATE/Feature.md +49 -49
  4. package/CHANGELOG.md +441 -422
  5. package/README.md +73 -73
  6. package/dist/ej2-maps.umd.min.js +1 -10
  7. package/dist/ej2-maps.umd.min.js.map +1 -1
  8. package/dist/es6/ej2-maps.es2015.js +1220 -653
  9. package/dist/es6/ej2-maps.es2015.js.map +1 -1
  10. package/dist/es6/ej2-maps.es5.js +1258 -692
  11. package/dist/es6/ej2-maps.es5.js.map +1 -1
  12. package/dist/global/ej2-maps.min.js +1 -10
  13. package/dist/global/ej2-maps.min.js.map +1 -1
  14. package/dist/global/index.d.ts +0 -9
  15. package/dist/ts/maps/layers/bing-map.ts +50 -0
  16. package/dist/ts/maps/layers/bubble.ts +290 -0
  17. package/dist/ts/maps/layers/color-mapping.ts +226 -0
  18. package/dist/ts/maps/layers/data-label.ts +418 -0
  19. package/dist/ts/maps/layers/layer-panel.ts +1480 -0
  20. package/dist/ts/maps/layers/legend.ts +2236 -0
  21. package/dist/ts/maps/layers/marker.ts +453 -0
  22. package/dist/ts/maps/layers/navigation-selected-line.ts +167 -0
  23. package/dist/ts/maps/maps.ts +2886 -0
  24. package/dist/ts/maps/model/base.ts +1843 -0
  25. package/dist/ts/maps/model/constants.ts +200 -0
  26. package/dist/ts/maps/model/export-image.ts +178 -0
  27. package/dist/ts/maps/model/export-pdf.ts +170 -0
  28. package/dist/ts/maps/model/interface.ts +823 -0
  29. package/dist/ts/maps/model/print.ts +104 -0
  30. package/dist/ts/maps/model/theme.ts +554 -0
  31. package/dist/ts/maps/user-interaction/annotation.ts +127 -0
  32. package/dist/ts/maps/user-interaction/highlight.ts +233 -0
  33. package/dist/ts/maps/user-interaction/selection.ts +321 -0
  34. package/dist/ts/maps/user-interaction/tooltip.ts +387 -0
  35. package/dist/ts/maps/user-interaction/zoom.ts +1767 -0
  36. package/dist/ts/maps/utils/enum.ts +368 -0
  37. package/dist/ts/maps/utils/helper.ts +3421 -0
  38. package/helper/e2e/index.js +3 -3
  39. package/helper/e2e/maps-helper.js +13 -13
  40. package/license +9 -9
  41. package/package.json +85 -85
  42. package/src/maps/layers/bing-map.d.ts +4 -0
  43. package/src/maps/layers/bing-map.js +16 -3
  44. package/src/maps/layers/bubble.d.ts +1 -2
  45. package/src/maps/layers/bubble.js +7 -12
  46. package/src/maps/layers/data-label.d.ts +1 -4
  47. package/src/maps/layers/data-label.js +32 -35
  48. package/src/maps/layers/layer-panel.d.ts +18 -1
  49. package/src/maps/layers/layer-panel.js +226 -72
  50. package/src/maps/layers/legend.d.ts +5 -2
  51. package/src/maps/layers/legend.js +170 -61
  52. package/src/maps/layers/marker.d.ts +2 -4
  53. package/src/maps/layers/marker.js +49 -48
  54. package/src/maps/layers/navigation-selected-line.d.ts +1 -2
  55. package/src/maps/layers/navigation-selected-line.js +7 -13
  56. package/src/maps/maps-model.d.ts +259 -251
  57. package/src/maps/maps.d.ts +25 -3
  58. package/src/maps/maps.js +179 -106
  59. package/src/maps/model/base-model.d.ts +1025 -1021
  60. package/src/maps/model/base.d.ts +5 -1
  61. package/src/maps/model/base.js +24 -24
  62. package/src/maps/model/constants.d.ts +6 -0
  63. package/src/maps/model/constants.js +6 -0
  64. package/src/maps/model/export-image.d.ts +2 -4
  65. package/src/maps/model/export-image.js +34 -33
  66. package/src/maps/model/export-pdf.d.ts +4 -6
  67. package/src/maps/model/export-pdf.js +31 -32
  68. package/src/maps/model/interface.d.ts +34 -26
  69. package/src/maps/model/print.d.ts +2 -5
  70. package/src/maps/model/print.js +32 -18
  71. package/src/maps/model/theme.js +7 -4
  72. package/src/maps/user-interaction/annotation.d.ts +1 -2
  73. package/src/maps/user-interaction/annotation.js +3 -4
  74. package/src/maps/user-interaction/highlight.d.ts +1 -2
  75. package/src/maps/user-interaction/highlight.js +11 -10
  76. package/src/maps/user-interaction/selection.d.ts +1 -2
  77. package/src/maps/user-interaction/selection.js +42 -19
  78. package/src/maps/user-interaction/tooltip.d.ts +3 -5
  79. package/src/maps/user-interaction/tooltip.js +27 -14
  80. package/src/maps/user-interaction/zoom.d.ts +3 -8
  81. package/src/maps/user-interaction/zoom.js +282 -162
  82. package/src/maps/utils/enum.d.ts +5 -1
  83. package/src/maps/utils/helper.d.ts +9 -1
  84. package/src/maps/utils/helper.js +82 -33
@@ -0,0 +1,368 @@
1
+ /**
2
+ * Maps enum doc
3
+ */
4
+
5
+ /**
6
+ * Defines the alignment for the elements in map.
7
+ */
8
+ export type Alignment =
9
+ /** Specifies the element to be placed near the maps. */
10
+ 'Near' |
11
+ /** Specifies the element to be placed at the center of the maps. */
12
+ 'Center' |
13
+ /** Specifies the element to be placed far from the maps. */
14
+ 'Far';
15
+ /**
16
+ * Defines the theme supported for maps.
17
+ */
18
+ export type MapsTheme =
19
+ /** Renders a map with material theme. */
20
+ 'Material' |
21
+ /** Renders a map with fabric theme. */
22
+ 'Fabric' |
23
+ /** Renders a map with highcontrast light theme. */
24
+ 'HighContrastLight' |
25
+ /** Renders a map with bootstrap theme. */
26
+ 'Bootstrap' |
27
+ /** Renders a map with material dark theme. */
28
+ 'MaterialDark'|
29
+ /** Renders a map with fabric dark theme. */
30
+ 'FabricDark'|
31
+ /** Renders a map with highcontrast dark theme. */
32
+ 'HighContrast'|
33
+ /** Renders a map with bootstrap dark theme. */
34
+ 'BootstrapDark'|
35
+ /** Renders a map with bootstrap4 theme. */
36
+ 'Bootstrap4' |
37
+ /** Renders a map with Tailwind theme. */
38
+ 'Tailwind' |
39
+ /** Renders a map with TailwindDark theme. */
40
+ 'TailwindDark' |
41
+ /** Renders a map with Bootstrap5 theme. */
42
+ 'Bootstrap5' |
43
+ /** Render a map with Bootstrap5 dark theme. */
44
+ 'Bootstrap5Dark' |
45
+ /** Renders a map with Fluent theme. */
46
+ 'Fluent' |
47
+ /** Render a map with Fluent dark theme. */
48
+ 'FluentDark';
49
+
50
+ /**
51
+ * Defines the position of the legend.
52
+ */
53
+ export type LegendPosition =
54
+ /** Specifies the legend to be placed on the top of maps. */
55
+ 'Top' |
56
+ /** Specifies the legend to be placed to the left of maps. */
57
+ 'Left' |
58
+ /** Specifies the legend to be placed at the bottom of maps. */
59
+ 'Bottom' |
60
+ /** Specifies the legend to be placed to the right of maps. */
61
+ 'Right' |
62
+ /** Specifies the legend to be placed based on given x and y location. */
63
+ 'Float';
64
+
65
+ /**
66
+ * Defines the type of the element in the map for which legend is to be rendered.
67
+ */
68
+ export type LegendType =
69
+ /** Renders the legend based on layers. */
70
+ 'Layers' |
71
+ /** Renders the legend based on bubbles. */
72
+ 'Bubbles' |
73
+ /** Renders the legend based on markers. */
74
+ 'Markers';
75
+
76
+ /**
77
+ * Defines the smart label mode for the data-label. Smart label handles the data label text when it exceeds the shape.
78
+ */
79
+ export type SmartLabelMode =
80
+ /** Trims the datalabel which exceed the region. */
81
+ 'Trim' |
82
+ /** Smart label mode is not applied. */
83
+ 'None' |
84
+ /** Hides the datalabel which exceeds the region. */
85
+ 'Hide';
86
+ /**
87
+ * Defines the arrow position in navigation line.
88
+ */
89
+ export type ArrowPosition =
90
+ /** Defines the arrow to be positioned at the start of the navigation line. */
91
+ 'Start' |
92
+ /** Defines the arrow to be positioned at the end of the navigation line. */
93
+ 'End';
94
+ /**
95
+ * Defines the label intersect action. Label interaction action handles the data label text
96
+ * when it intersects with other data label contents.
97
+ */
98
+ export type IntersectAction =
99
+ /** Specifies the data label to be trimmed when it intersects. */
100
+ 'Trim' |
101
+ /** Specifies that no action will be taken when it intersects. */
102
+ 'None' |
103
+ /** Specifies the data label to be hidden when it intersects. */
104
+ 'Hide';
105
+ /**
106
+ * Defines the mode of the legend.
107
+ */
108
+ export type LegendMode =
109
+ /** Specifies the legend as static. */
110
+ 'Default' |
111
+ /** Specifies the legend as interactive. */
112
+ 'Interactive';
113
+
114
+ /**
115
+ * Defines the type of the layer in the map.
116
+ */
117
+ export type ShapeLayerType =
118
+ /**
119
+ * Defines the map layer as geometry shapes.
120
+ */
121
+ 'Geometry' |
122
+ /**
123
+ * Defines the map layer as open street map.
124
+ */
125
+ 'OSM' |
126
+ /**
127
+ * Defines the map layer as bing.
128
+ */
129
+ 'Bing' |
130
+ /**
131
+ * Specifies the map layer as google static map.
132
+ */
133
+ 'GoogleStaticMap' |
134
+ /**
135
+ * Specifies the map layer as google map.
136
+ */
137
+ 'Google';
138
+ /**
139
+ * Defines the type of the layer in maps.
140
+ */
141
+ export type Type =
142
+ /**
143
+ * Specifies the layer type as main layer in the maps component.
144
+ */
145
+ 'Layer' |
146
+ /**
147
+ * Specifies the layer type as sublayer in the maps component. This layer will be a part of the layer provided in the maps.
148
+ */
149
+ 'SubLayer';
150
+
151
+ /**
152
+ * Defines the type of markers in the maps component.
153
+ */
154
+ export type MarkerType =
155
+ /** Specifies to render the marker shape as circle on maps. */
156
+ 'Circle' |
157
+ /** Specifies to render the marker shape as rectangle on maps. */
158
+ 'Rectangle' |
159
+ /** Specifies to render the marker shape as cross on maps. */
160
+ 'Cross' |
161
+ /** Specifies to render the marker shape as diamond on maps. */
162
+ 'Diamond' |
163
+ /** Specifies to render the marker shape as star on maps. */
164
+ 'Star' |
165
+ /** Specifies to render the marker shape as balloon on maps. */
166
+ 'Balloon' |
167
+ /** Specifies to render the marker shape as triangle on maps. */
168
+ 'Triangle' |
169
+ /** Specifies to render the marker shape as horizontal line on maps. */
170
+ 'HorizontalLine' |
171
+ /** Specifies to render the marker shape as vertical line on maps. */
172
+ 'VerticalLine' |
173
+ /** Specifies to render the marker shape as image on maps. */
174
+ 'Image' |
175
+ /** Specifies to render the marker shape as inverted triangle on maps. */
176
+ 'InvertedTriangle' |
177
+ /** Specifies to render the marker shape as pentagon on maps. */
178
+ 'Pentagon';
179
+
180
+ /**
181
+ * Defines the projection type of the maps.
182
+ */
183
+ export type ProjectionType =
184
+ /** Specifies the maps to render in mercator projection type. */
185
+ 'Mercator' |
186
+ /** Specifies the maps to render in winklel3 projection type. */
187
+ 'Winkel3' |
188
+ /** Specifies the maps to render in miller projection type. */
189
+ 'Miller' |
190
+ /** Specifies the maps to render in eckert3 projection type. */
191
+ 'Eckert3' |
192
+ /** Specifies the maps to render in eckert5 projection type. */
193
+ 'Eckert5' |
194
+ /** Specifies the maps to render in eckert6 projection type. */
195
+ 'Eckert6' |
196
+ /** Specifies the maps to render in ait off projection type. */
197
+ 'AitOff' |
198
+ /** Specifies the maps to render in equirectangular projection type. */
199
+ 'Equirectangular';
200
+ /**
201
+ * Defines the types of bing map.
202
+ */
203
+ export type BingMapType =
204
+ /** Defines the maps to render bing map layer with aerial type. */
205
+ 'Aerial' |
206
+ /** Defines the maps to render bing map layer with aerial with label type. */
207
+ 'AerialWithLabel' |
208
+ /** Defines the maps to render bing map layer with road type. */
209
+ 'Road' |
210
+ /** Defines the maps to render a dark version of the road maps. */
211
+ 'CanvasDark' |
212
+ /** Defines the maps to render a lighter version of the road maps. */
213
+ 'CanvasLight' |
214
+ /** Defines the maps to render a grayscale version of the road maps. */
215
+ 'CanvasGray';
216
+
217
+ /**
218
+ * Defines the types of maps.
219
+ */
220
+ export type StaticMapType =
221
+ /** Specifies the maps to render google map layer with road map type. */
222
+ 'RoadMap' |
223
+ /** Specifies the maps to render google map layer with terrain type. */
224
+ 'Terrain' |
225
+ /** Specifies the maps to render google map layer with satellite type. */
226
+ 'Satellite' |
227
+ /** Specifies the maps to render the google map with hybrid type. */
228
+ 'Hybrid';
229
+
230
+ /**
231
+ * Defines the zooming tool bar orientation.
232
+ */
233
+ export type Orientation =
234
+ /** Specifies the zooming toolbar to be placed horizontally. */
235
+ 'Horizontal' |
236
+ /** Specifies the zooming toolbar to be placed vertically. */
237
+ 'Vertical';
238
+
239
+ /**
240
+ * Defines the shape of legend.
241
+ */
242
+ export type LegendShape =
243
+ /** Specifies the legend shape as a circle. */
244
+ 'Circle' |
245
+ /** Specifies the legend shape as a rectangle. */
246
+ 'Rectangle' |
247
+ /** Specifies the legend shape as a triangle. */
248
+ 'Triangle' |
249
+ /** Specifies the legend shape as a diamond. */
250
+ 'Diamond' |
251
+ /** Specifies the legend shape as a cross. */
252
+ 'Cross' |
253
+ /** Specifies the legend shape as a star. */
254
+ 'Star' |
255
+ /** Specifies the legend shape as a horizontal line. */
256
+ 'HorizontalLine' |
257
+ /** Specifies the legend shape as a vertical line. */
258
+ 'VerticalLine' |
259
+ /** Specifies the legend shape as a pentagon. */
260
+ 'Pentagon' |
261
+ /** Specifies the legend shape as a inverted triangle. */
262
+ 'InvertedTriangle'|
263
+ /** Specifies to render the marker shape as balloon on maps. */
264
+ 'Balloon';
265
+ /**
266
+ * Defines the legend arrangement in the maps component.
267
+ */
268
+ export type LegendArrangement =
269
+ /** Specifies the legend item to be placed by default based on legend orientation. */
270
+ 'None' |
271
+ /** Specifies the legend items to be placed horizontally. */
272
+ 'Horizontal' |
273
+ /** Specifies the legend items to be placed vertically. */
274
+ 'Vertical';
275
+
276
+ /**
277
+ * Defines the alignment for the annotation.
278
+ */
279
+ export type AnnotationAlignment =
280
+ /** Specifies the annotation to be placed by default alignement. */
281
+ 'None' |
282
+ /** Specifies the annotation to be placed near the maps with respect to the position of the legend. */
283
+ 'Near' |
284
+ /** Specifies the annotation to be placed at the center of the maps with respect to the position of the legend. */
285
+ 'Center' |
286
+ /** Specifies the annotation to be placed far from the maps with respect to the position of the legend. */
287
+ 'Far';
288
+
289
+ /**
290
+ * Defines the geometry type.
291
+ */
292
+ export type GeometryType =
293
+ /** Specifies the geometry rendering in the layer of the maps. */
294
+ 'Geographic' |
295
+ /** Specifies the maps in normal rendering. */
296
+ 'Normal';
297
+ /**
298
+ * Defines the type of the bubble.
299
+ */
300
+ export type BubbleType =
301
+ /** Specifies the bubble as circle type. */
302
+ 'Circle' |
303
+ /** Specifies the bubble as square type. */
304
+ 'Square';
305
+
306
+ /**
307
+ * Defines the placement type of the label.
308
+ */
309
+ export type LabelPosition =
310
+ /** Specifies the label placement as before. */
311
+ 'Before' |
312
+ /** Specifies the label placement as after. */
313
+ 'After';
314
+
315
+ /**
316
+ * Defines the label intersect action in the maps component.
317
+ */
318
+ export type LabelIntersectAction =
319
+ /**
320
+ * Specifies that no action will be taken when the label contents intersect.
321
+ */
322
+ 'None' |
323
+ /**
324
+ * Specifies the data label to be trimmed when it intersects.
325
+ */
326
+ 'Trim' |
327
+ /**
328
+ * Specifies the data label to be hidden when it intersects.
329
+ */
330
+ 'Hide';
331
+
332
+ /**
333
+ * Specifies the export type for the maps.
334
+ */
335
+ export type ExportType =
336
+ /** Specifies the rendered maps to be exported in the png format. */
337
+ 'PNG' |
338
+ /** Specifies the rendered maps to be exported in the jpeg format. */
339
+ 'JPEG' |
340
+ /** Specifies the rendered maps to be exported in the svg format. */
341
+ 'SVG' |
342
+ /** Specifies the rendered maps to be exported in the pdf format. */
343
+ 'PDF';
344
+
345
+ /**
346
+ * Specifies the direction of panning.
347
+ */
348
+ export type PanDirection =
349
+ /** Specifies the maps to pan in the left direction. */
350
+ 'Left' |
351
+ /** Specifies the maps to pan in the right direction. */
352
+ 'Right' |
353
+ /** Specifies the maps to pan in the top direction. */
354
+ 'Top' |
355
+ /** Specifies the maps to pan in the bottom direction. */
356
+ 'Bottom' |
357
+ /** Specifies the maps to pan map by mouse move. */
358
+ 'None';
359
+ /**
360
+ * Specifies the tooltip to be rendered on mouse operation.
361
+ */
362
+ export type TooltipGesture =
363
+ /** Specifies the tooltip to be shown on mouse hover event. */
364
+ 'MouseMove' |
365
+ /** Specifies the tooltip to be shown on click event. */
366
+ 'Click' |
367
+ /** Specifies the tooltip to be shown on double click event. */
368
+ 'DoubleClick';