@syncfusion/ej2-maps 31.1.17 → 31.2.12

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