@syncfusion/ej2-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 (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 -439
  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 +1161 -638
  9. package/dist/es6/ej2-maps.es2015.js.map +1 -1
  10. package/dist/es6/ej2-maps.es5.js +1200 -678
  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 +24 -3
  58. package/src/maps/maps.js +152 -90
  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 +26 -32
  66. package/src/maps/model/export-pdf.d.ts +4 -6
  67. package/src/maps/model/export-pdf.js +27 -35
  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 +33 -21
  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 +1 -1
  84. package/src/maps/utils/helper.js +62 -31
@@ -0,0 +1,823 @@
1
+ /**
2
+ * Maps interfaces doc
3
+ */
4
+ import { Maps, FontModel, BorderModel } from '../../index';
5
+ import { Size } from '../utils/helper';
6
+ import {
7
+ LayerSettingsModel, MarkerSettingsModel, DataLabelSettingsModel, ShapeSettingsModel,
8
+ MarkerType, LegendShape, Annotation, MarkerClusterSettingsModel
9
+ } from '../index';
10
+ import { ToolLocationModel, TextStyleModel } from '@syncfusion/ej2-svg-base';
11
+ /**
12
+ * Specifies the event arguments for the maps component.
13
+ *
14
+ * @private
15
+ */
16
+ export interface IMapsEventArgs {
17
+ /** Defines the name of the event. */
18
+ name: string;
19
+ /** Specifies the cancel state for the event. The default value is false. If set as true, the event progress will be stopped. */
20
+ cancel: boolean;
21
+ }
22
+ /**
23
+ * Specifies the event arguments for print event in maps.
24
+ */
25
+ export interface IPrintEventArgs extends IMapsEventArgs {
26
+ /**
27
+ * Specifies the html content that is printed. The html content returned is usually the id string of the maps.
28
+ */
29
+ htmlContent: Element;
30
+ }
31
+ /**
32
+ * Specifies the event arguments for load event in maps.
33
+ */
34
+ export interface ILoadedEventArgs extends IMapsEventArgs {
35
+ /** Defines the current maps instance.
36
+ *
37
+ * @deprecated
38
+ */
39
+ maps?: Maps;
40
+
41
+ /** Defines the isResized argument.
42
+ */
43
+ isResized: boolean;
44
+ }
45
+ /**
46
+ * Specifies the event argument load event in maps.
47
+ */
48
+ export interface ILoadEventArgs extends IMapsEventArgs {
49
+ /** Defines the current maps instance.
50
+ *
51
+ * @deprecated
52
+ */
53
+ maps?: Maps;
54
+ }
55
+ /**
56
+ * Specifies the event arguments for the data-label event in maps.
57
+ */
58
+ export interface IDataLabelArgs extends IMapsEventArgs {
59
+ /** Defines the current maps instance.
60
+ *
61
+ * @deprecated
62
+ */
63
+ maps: Maps;
64
+ /**
65
+ * Defines the labels in maps.
66
+ */
67
+ dataLabel: DataLabelSettingsModel;
68
+ }
69
+ /**
70
+ * Specifies the event arguments for mouse move event in maps.
71
+ */
72
+ export interface IMouseEventArgs extends IMapsEventArgs {
73
+ /** Defines the current mouse event target id */
74
+ target: string;
75
+ /** Defines the current mouse x location. */
76
+ x: number;
77
+ /** Defines the current mouse y location. */
78
+ y: number;
79
+ /** Defines the current latitude value of maps location */
80
+ latitude?: number;
81
+ /** Defines the current longitude value of maps location */
82
+ longitude?: number;
83
+ /** Specifies whether the shape is selected or not in the Map */
84
+ isShapeSelected?: boolean;
85
+ }
86
+ /**
87
+ * Specifies the current position in maps.
88
+ */
89
+ export interface GeoPosition {
90
+ /** Specifies the current latitude value for the maps location. */
91
+ latitude?: number;
92
+ /** Specifies the current longitude value for the maps location. */
93
+ longitude?: number;
94
+ }
95
+ /**
96
+ * Specifies the event arguments for tooltip render event in maps.
97
+ */
98
+ export interface ITooltipRenderCompleteEventArgs extends IMapsEventArgs {
99
+ /** Defines the current map instance.
100
+ *
101
+ * @deprecated
102
+ */
103
+ maps?: Maps;
104
+ /**
105
+ * Define the current tooltip element.
106
+ */
107
+ element: Element;
108
+ /**
109
+ * Define the tooltip options.
110
+ */
111
+ options: Object;
112
+ }
113
+ /**
114
+ * Specifies the event arguments for the resize event in maps.
115
+ */
116
+ export interface IResizeEventArgs extends IMapsEventArgs {
117
+ /** Defines the previous size of the maps before the resize event. */
118
+ previousSize: Size;
119
+ /** Defines the current size of the maps after the resize event. */
120
+ currentSize: Size;
121
+ /** Defines the current maps instance.
122
+ *
123
+ * @deprecated
124
+ */
125
+ maps: Maps;
126
+ }
127
+
128
+ /** @private */
129
+ export interface IFontMapping {
130
+ size?: string;
131
+ color?: string;
132
+ fontWeight?: string;
133
+ fontStyle?: string;
134
+ fontFamily?: string;
135
+ }
136
+
137
+ /** @private */
138
+ export interface MapsTooltipOption {
139
+ location ?: ToolLocationModel;
140
+ text ?: string[];
141
+ data ?: Object;
142
+ textStyle ?: TextStyleModel;
143
+ template ?: string;
144
+ }
145
+ /**
146
+ * Specifies the event arguments for tooltip render event in maps.
147
+ */
148
+ export interface ITooltipRenderEventArgs extends IMapsEventArgs {
149
+ /** Defines the current maps instance.
150
+ *
151
+ * @deprecated
152
+ */
153
+ maps?: Maps;
154
+ /**
155
+ * Define the content of the tooltip.
156
+ */
157
+ content?: string | HTMLElement;
158
+ /**
159
+ * Define the tooltip options.
160
+ */
161
+ options?: Object;
162
+ /**
163
+ * Defines the style of text for the tooltip in event argument.
164
+ */
165
+ textStyle?: FontModel;
166
+ /**
167
+ * Defines the color and width of the border for the tooltip in event argument.
168
+ */
169
+ border?: BorderModel;
170
+ /**
171
+ * Defines the color for the tooltip in event argument.
172
+ */
173
+ fill?: string;
174
+ /**
175
+ * Defines the data in tooltip.
176
+ */
177
+ data?: Object;
178
+ /**
179
+ * Defines the current tooltip element.
180
+ */
181
+ element: Element;
182
+ /**
183
+ * Defines the original event arguments.
184
+ */
185
+ eventArgs?: PointerEvent;
186
+ }
187
+ /**
188
+ * Specifies the event arguments for item selection event in maps.
189
+ */
190
+ export interface ISelectionEventArgs extends IMapsEventArgs {
191
+ /** Defines the current maps instance.
192
+ *
193
+ * @deprecated
194
+ */
195
+ maps?: Maps;
196
+ /**
197
+ * Defines the color while selecting the shape in maps.
198
+ */
199
+ fill?: string;
200
+ /**
201
+ * Defines the opacity for the selected shape.
202
+ */
203
+ opacity?: number;
204
+ /**
205
+ * Defines the color and width of the border for the selected shape in maps.
206
+ */
207
+ border?: BorderModel;
208
+ /**
209
+ * Defines current mouse event target id.
210
+ */
211
+ target?: string;
212
+ /**
213
+ * Defines the shape data for the maps.
214
+ */
215
+ shapeData?: Object;
216
+ /**
217
+ * Defines the data from the data source.
218
+ */
219
+ data?: Object;
220
+ }
221
+ /**
222
+ * Specifies the event arguments for shape selected event in maps.
223
+ */
224
+ export interface IShapeSelectedEventArgs extends IMapsEventArgs {
225
+ /** Defines the current maps instance.
226
+ *
227
+ * @deprecated
228
+ */
229
+ maps?: Maps;
230
+ /**
231
+ * Defines the color for the selected shape in maps.
232
+ */
233
+ fill?: string;
234
+ /**
235
+ * Defines the opacity for the selected shape in maps.
236
+ */
237
+ opacity?: number;
238
+ /**
239
+ * Defines the color and width of the border for the selected element in maps.
240
+ */
241
+ border?: BorderModel;
242
+ /**
243
+ * Defines the shapeData for the currently clicked shape.
244
+ */
245
+ shapeData?: Object;
246
+ /**
247
+ * Defines the data source for the currently clicked shape.
248
+ */
249
+ data?: Object;
250
+ /** Defines the id string of current mouse event target. */
251
+ target?: string;
252
+ /**
253
+ * Returns the shape details which are in selected state during multi-selection
254
+ */
255
+ shapeDataCollection?: Object;
256
+ }
257
+
258
+ /** @private */
259
+ export interface ITouches {
260
+ pageX?: number;
261
+ pageY?: number;
262
+ pointerId?: number;
263
+ }
264
+
265
+ /** @private */
266
+ export interface IShapes {
267
+ renderOption?: Object;
268
+ functionName?: string;
269
+ }
270
+ /**
271
+ * Specifies the event arguments for layer rendering event in maps.
272
+ */
273
+ export interface ILayerRenderingEventArgs extends IMapsEventArgs {
274
+ /**
275
+ * Defines the layer index in event argument.
276
+ */
277
+ index?: number;
278
+ /**
279
+ * Defines the maps instance in event argument.
280
+ *
281
+ * @deprecated
282
+ */
283
+ maps?: Maps;
284
+ /**
285
+ * Defines the options to customize the layers in event argument.
286
+ *
287
+ * @deprecated
288
+ */
289
+ layer?: LayerSettingsModel;
290
+ /**
291
+ * Enables or disables the visibility of layer in event argument.
292
+ */
293
+ visible?: boolean;
294
+ }
295
+
296
+ /**
297
+ * Specifies the event arguments in shape rendering event in maps.
298
+ */
299
+ export interface IShapeRenderingEventArgs extends IMapsEventArgs {
300
+ /**
301
+ * Defines the index value of shape rendering in the map.
302
+ */
303
+ index?: number;
304
+ /**
305
+ * Defines the maps instance in event argument.
306
+ *
307
+ * @deprecated
308
+ */
309
+ maps?: Maps;
310
+ /**
311
+ * Defines the current shape settings in event argument.
312
+ */
313
+ shape?: ShapeSettingsModel;
314
+ /**
315
+ * Defines the color for the current shape in event argument.
316
+ */
317
+ fill?: string;
318
+ /**
319
+ * Defines the color and width of the border for the current shape in event argument.
320
+ */
321
+ border?: BorderModel;
322
+ /**
323
+ * Defines the data for the shape from the data source in event argument.
324
+ */
325
+ data?: Object;
326
+ }
327
+ /**
328
+ * Specifies the event arguments in marker rendering event in maps.
329
+ */
330
+ export interface IMarkerRenderingEventArgs extends IMapsEventArgs {
331
+ /**
332
+ * Defines the maps instance in event argument.
333
+ *
334
+ * @deprecated
335
+ */
336
+ maps?: Maps;
337
+ /**
338
+ * Defines the marker instance.
339
+ */
340
+ marker?: MarkerSettingsModel;
341
+ /**
342
+ * Defines the color for the marker in event argument.
343
+ */
344
+ fill?: string;
345
+
346
+ /**
347
+ * Defines the height of the marker in event argument.
348
+ */
349
+ height?: number;
350
+
351
+ /**
352
+ * Defines the width of the marker.
353
+ */
354
+ width?: number;
355
+
356
+ /**
357
+ * Defines the shape of the marker.
358
+ */
359
+ shape?: MarkerType;
360
+
361
+ /**
362
+ * Defines the URL path for the marker when rendered as image.
363
+ */
364
+ imageUrl?: string;
365
+
366
+ /**
367
+ * Defines the template of the marker.
368
+ */
369
+ template?: string;
370
+ /**
371
+ * Defines the color and width of the border for the marker.
372
+ */
373
+ border?: BorderModel;
374
+ /**
375
+ * Defines the marker data from the marker data source in maps.
376
+ */
377
+ data?: Object;
378
+ /**
379
+ * Defines the value path of marker color from the marker data source.
380
+ */
381
+ colorValuePath?: string;
382
+ /**
383
+ * Defines the value path of marker shape from the marker data source.
384
+ */
385
+ shapeValuePath?: string;
386
+ /**
387
+ * Defines the value path of marker image from the marker data source.
388
+ */
389
+ imageUrlValuePath?: string;
390
+ }
391
+
392
+ /**
393
+ * Specifies the event arguments for marker cluster rendering event in maps.
394
+ */
395
+ export interface IMarkerClusterRenderingEventArgs extends IMapsEventArgs {
396
+ /**
397
+ * Defines the maps instance event argument.
398
+ *
399
+ * @deprecated
400
+ */
401
+ maps?: Maps;
402
+ /**
403
+ * Defines the marker cluster instance.
404
+ */
405
+ cluster?: MarkerClusterSettingsModel;
406
+ /**
407
+ * Defines the color for the marker cluster.
408
+ */
409
+ fill?: string;
410
+
411
+ /**
412
+ * Defines the height for the marker cluster.
413
+ */
414
+ height?: number;
415
+
416
+ /**
417
+ * Defines the width for the marker cluster.
418
+ */
419
+ width?: number;
420
+
421
+ /**
422
+ * Defines the shape for the marker cluster.
423
+ */
424
+ shape?: MarkerType;
425
+
426
+ /**
427
+ * Defines the URL path for rendering image as marker cluster.
428
+ */
429
+ imageUrl?: string;
430
+ /**
431
+ * Defines the color and width of the border for the marker cluster.
432
+ */
433
+ border?: BorderModel;
434
+ /**
435
+ * Defines the data for the marker cluster in maps.
436
+ */
437
+ data?: Object;
438
+
439
+ }
440
+
441
+ /**
442
+ * Specifies the event arguments for marker click event in maps.
443
+ */
444
+ export interface IMarkerClickEventArgs extends IMouseEventArgs {
445
+ /**
446
+ * Defines the maps instance event argument.
447
+ *
448
+ * @deprecated
449
+ */
450
+ maps?: Maps;
451
+ /**
452
+ * Defines the marker instance in event argument.
453
+ */
454
+ marker?: MarkerSettingsModel;
455
+ /**
456
+ * Defines the name for a marker.
457
+ */
458
+ value: string;
459
+ /**
460
+ * Defines the marker data for the marker that is clicked.
461
+ */
462
+ data?: Object;
463
+ }
464
+
465
+ /**
466
+ * Specifies the event arguments for marker move event in maps.
467
+ */
468
+ export interface IMarkerMoveEventArgs extends IMouseEventArgs {
469
+ /**
470
+ * Defines the maps instance event argument.
471
+ *
472
+ * @deprecated
473
+ */
474
+ maps?: Maps;
475
+ /**
476
+ * Defines the data of the marker in event argument.
477
+ */
478
+ data?: Object;
479
+ }
480
+
481
+ /**
482
+ * Specifies the event arguments for the cluster click event in maps.
483
+ */
484
+ export interface IMarkerClusterClickEventArgs extends IMouseEventArgs {
485
+ /**
486
+ * Defines the currently clicked marker data.
487
+ */
488
+ data?: Object;
489
+ /**
490
+ * Defines the maps instance event argument.
491
+ *
492
+ * @deprecated
493
+ */
494
+ maps?: Maps;
495
+ /**
496
+ * Defines the collection of markers in a cluster.
497
+ */
498
+ markerClusterCollection?: Object;
499
+ }
500
+
501
+ /**
502
+ * Specifies the event arguments for marker cluster move event in maps.
503
+ */
504
+ export interface IMarkerClusterMoveEventArgs extends IMouseEventArgs {
505
+ /**
506
+ * Defines the maps instance event argument.
507
+ *
508
+ * @deprecated
509
+ */
510
+ maps?: Maps;
511
+ /**
512
+ * Defines the data of the cluster of marker in event argument.
513
+ */
514
+ data?: Object;
515
+ }
516
+
517
+ /**
518
+ * Specifies the event argument for label rendering event in maps.
519
+ */
520
+ export interface ILabelRenderingEventArgs extends IMapsEventArgs {
521
+ /**
522
+ * Defines the maps instance event argument.
523
+ *
524
+ * @deprecated
525
+ */
526
+ maps?: Maps;
527
+ /**
528
+ * Defines the text for the data-label in event argument.
529
+ */
530
+ text: string;
531
+ /**
532
+ * Defines the right and left position of text for the data-label in event argument.
533
+ */
534
+ offsetX: number;
535
+ /**
536
+ * Defines the top and bottom position of text for the data-label in event argument.
537
+ */
538
+ offsetY: number;
539
+ /**
540
+ * Defines the color and width of the border for the data-label in event argument.
541
+ */
542
+ border: BorderModel;
543
+ /**
544
+ * Defines the color for the data-label in event argument.
545
+ */
546
+ fill: string;
547
+ /**
548
+ * Defines the template for the data-label.
549
+ */
550
+ template: string;
551
+ /**
552
+ * Defines the instance of the data-label in event argument.
553
+ */
554
+ datalabel?: DataLabelSettingsModel;
555
+ }
556
+
557
+ /**
558
+ * Specifies the event arguments for bubble rendering event in maps.
559
+ */
560
+ export interface IBubbleRenderingEventArgs extends IMapsEventArgs {
561
+ /**
562
+ * Defines the maps instance event argument.
563
+ *
564
+ * @deprecated
565
+ */
566
+ maps?: Maps;
567
+ /**
568
+ * Defines the color for the bubble in event argument.
569
+ */
570
+ fill?: string;
571
+ /**
572
+ * Defines the color and width of the border for the bubble in event argument.
573
+ */
574
+ border?: BorderModel;
575
+ /**
576
+ * Defines the center x position for the current bubble.
577
+ */
578
+ cx?: number;
579
+ /**
580
+ * Defines the center Y position for the current bubble.
581
+ */
582
+ cy?: number;
583
+ /**
584
+ * Defines the radius for the current bubble.
585
+ */
586
+ radius?: number;
587
+ /**
588
+ * Defines the data for the current bubble.
589
+ */
590
+ data?: Object;
591
+ }
592
+ /**
593
+ * Specifies the event argument for bubble click event in maps.
594
+ */
595
+ export interface IBubbleClickEventArgs extends IMouseEventArgs {
596
+ /**
597
+ * Defines the maps instance in event argument.
598
+ *
599
+ * @deprecated
600
+ */
601
+ maps?: Maps;
602
+ /**
603
+ * Defines the current data for the bubble in event argument.
604
+ */
605
+ data?: Object;
606
+ }
607
+
608
+ /**
609
+ * Specifies the event argument for bubble mouse move event in maps.
610
+ */
611
+ export interface IBubbleMoveEventArgs extends IMouseEventArgs {
612
+ /**
613
+ * Defines the maps instance event argument.
614
+ *
615
+ * @deprecated
616
+ */
617
+ maps?: Maps;
618
+ /**
619
+ * Defines the data for the current bubble on which the mouse has hovered in event argument.
620
+ */
621
+ data?: Object;
622
+ }
623
+ /**
624
+ * Specifies the event arguments for animation complete event in maps.
625
+ */
626
+ export interface IAnimationCompleteEventArgs extends IMapsEventArgs {
627
+ /**
628
+ * Defines the maps instance event argument.
629
+ *
630
+ * @deprecated
631
+ */
632
+ maps?: Maps;
633
+ /**
634
+ * Defines the type of animation element in event argument.
635
+ */
636
+ element: string;
637
+ }
638
+
639
+ /**
640
+ * Specifies the event arguments for the legend rendering event in maps.
641
+ */
642
+ export interface ILegendRenderingEventArgs extends IMapsEventArgs {
643
+ /**
644
+ * Defines the maps instance event argument.
645
+ *
646
+ * @deprecated
647
+ */
648
+ maps?: Maps;
649
+ /**
650
+ * Defines the color for the shape of legend in event argument.
651
+ */
652
+ fill?: string;
653
+
654
+ /**
655
+ * Defines the options for customizing the color and width of the shape in legend.
656
+ */
657
+ shapeBorder?: BorderModel;
658
+
659
+ /**
660
+ * Defines the shape of the legend in maps.
661
+ */
662
+ shape?: LegendShape;
663
+ /**
664
+ * Defines the text for legend.
665
+ */
666
+ text?: string | string[];
667
+ }
668
+
669
+ /**
670
+ * Specifies the event arguments for annotation rendering event in maps.
671
+ */
672
+ export interface IAnnotationRenderingEventArgs extends IMapsEventArgs {
673
+ /**
674
+ * Defines the maps instance in event argument.
675
+ *
676
+ * @deprecated
677
+ */
678
+ maps?: Maps;
679
+ /**
680
+ * Defines the content for annotation in maps.
681
+ */
682
+ content?: string;
683
+ /**
684
+ * Specifies the annotation instance.
685
+ */
686
+ annotation?: Annotation;
687
+ }
688
+
689
+ /**
690
+ * Specifies the event arguments for the pan event in maps.
691
+ */
692
+ export interface IMapPanEventArgs extends IMapsEventArgs {
693
+ /**
694
+ * Defines the maps instance in event argument.
695
+ *
696
+ * @deprecated
697
+ */
698
+ maps?: Maps;
699
+ /**
700
+ * Defines the tile map translate point.
701
+ */
702
+ tileTranslatePoint?: Object;
703
+ /**
704
+ * Defines the translate point of the geometry map.
705
+ */
706
+ translatePoint?: Object;
707
+ /**
708
+ * Defines the zoom level for the tile map.
709
+ */
710
+ tileZoomLevel?: number;
711
+ /**
712
+ * Defines the scale value for the maps.
713
+ */
714
+ scale?: number;
715
+ /**
716
+ * Defines the latitude value of maps on pan event.
717
+ */
718
+ latitude: number;
719
+ /**
720
+ * Defines the longitude value of maps on pan event.
721
+ */
722
+ longitude: number;
723
+ }
724
+
725
+ /**
726
+ * Specifies the event arguments for zoom event in maps.
727
+ */
728
+ export interface IMapZoomEventArgs extends IMapsEventArgs {
729
+ /**
730
+ * Defines the maps instance event argument.
731
+ *
732
+ * @deprecated
733
+ */
734
+ maps?: Maps;
735
+ /**
736
+ * Defines the type of zoom interaction.
737
+ */
738
+ type: string;
739
+ /**
740
+ * Defines the tile translate point.
741
+ */
742
+ tileTranslatePoint?: Object;
743
+ /**
744
+ * Defines the translate point of geometry map.
745
+ */
746
+ translatePoint?: Object;
747
+ /**
748
+ * Defines the zoom level for the tile maps.
749
+ */
750
+ tileZoomLevel?: Object;
751
+ /**
752
+ * Defines the scale value for the maps.
753
+ */
754
+ scale?: Object;
755
+ }
756
+
757
+
758
+ /** @private */
759
+ /**
760
+ * Specifies the theme style for maps.
761
+ */
762
+ export interface IThemeStyle {
763
+ /** Specifies the background color for the maps based on theme style. */
764
+ backgroundColor: string;
765
+ /** Specifies the area background color for the maps based on theme style */
766
+ areaBackgroundColor: string;
767
+ /** Specifies the font color for the title of maps. */
768
+ titleFontColor: string;
769
+ /** Specifies the font color for the sub title of the maps. */
770
+ subTitleFontColor: string;
771
+ /** Specifies the font color for the title of legend in maps. */
772
+ legendTitleFontColor: string;
773
+ /** Specifies the color for the legend text in maps. */
774
+ legendTextColor: string;
775
+ /** Specifies the font color for the label in maps. */
776
+ dataLabelFontColor: string;
777
+ /** Specifies the font color for the tooltip in maps. */
778
+ tooltipFontColor: string;
779
+ /** Specifies the color of the tooltip in maps. */
780
+ tooltipFillColor: string;
781
+ /** Specifies the color for the zoom in maps. */
782
+ zoomFillColor: string;
783
+ /** Specifies the font-family for the maps. */
784
+ fontFamily?: string;
785
+ /** Specifies the font size for the title in maps. */
786
+ titleFontSize?: string;
787
+ /** Specifies the opacity for the tooltip in maps. */
788
+ tooltipFillOpacity? : number;
789
+ /** Specifies the text opacity for the tooltip in maps. */
790
+ tooltipTextOpacity?: number;
791
+ /** Specifies the font size for the legend in maps. */
792
+ legendFontSize?: string;
793
+ /** Specifies the font-family for the data label in maps. */
794
+ labelFontFamily?: string;
795
+ /** Specifies the font-weight for the data label in maps. */
796
+ titleFontWeight?: string;
797
+ /** Specifies the hover color for the zoom toolbar buttons in maps. */
798
+ zoomSelectionColor?: string;
799
+ /** Specifies the color for the shapes in the maps. */
800
+ shapeFill?: string;
801
+ }
802
+
803
+ /**
804
+ * Defines the template for the marker.
805
+ */
806
+ export interface IDataTemplate {
807
+ /** Defines the latitude value for the template. */
808
+ latitude?: number;
809
+ /** Defines the longitude value for the template. */
810
+ longitude?: number;
811
+ /** Defines the name of a marker or data-label. */
812
+ name?: string;
813
+ /** Defines the continent name for data-label. */
814
+ continent?: string;
815
+ /** Defines the admin name for data-label. */
816
+ admin?: string;
817
+ /** Defines the population of bubble. */
818
+ Population?: number;
819
+ /** Defines the name of country. */
820
+ Country?: string;
821
+ /** Defines the Text of any string. */
822
+ text?: string[];
823
+ }