@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,1840 +0,0 @@
1
- /**
2
- * Maps base document
3
- */
4
- import { ChildProperty } from '@syncfusion/ej2-base';
5
- import { DataManager, Query } from '@syncfusion/ej2-data';
6
- import { Alignment, LegendPosition, LegendType, LegendMode, Type, MarkerType, Orientation, MapAjax } from '../../index';
7
- import { SmartLabelMode, IntersectAction } from '../../index';
8
- import { BorderModel, ColorMappingSettingsModel, FontModel, CommonTitleSettingsModel, NavigationLineSettingsModel, PolygonSettingsModel, ZoomToolbarTooltipSettingsModel } from './base-model';
9
- import { MarkerSettingsModel, MarkerClusterSettingsModel, ShapeSettingsModel, BubbleSettingsModel, ArrowModel } from './base-model';
10
- import { DataLabelSettingsModel, TooltipSettingsModel, SubTitleSettingsModel, SelectionSettingsModel, PolygonSettingModel } from './base-model';
11
- import { HighlightSettingsModel, ToggleLegendSettingsModel, ConnectorLineSettingsModel, PolygonTooltipSettingsModel } from './base-model';
12
- import { InitialShapeSelectionSettingsModel, InitialMarkerSelectionSettingsModel, ZoomToolbarSettingsModel, ZoomToolbarButtonSettingsModel } from './base-model';
13
- import { Point, GeoLocation, Coordinate, RelativePoint } from '../utils/helper';
14
- import { LegendArrangement, LegendShape, BubbleType, ToolbarItem } from '../utils/enum';
15
- import { AnnotationAlignment, GeometryType, LabelPosition, LabelIntersectAction } from '../index';
16
- /**
17
- * Gets or sets the options for customizing the annotation element in maps.
18
- */
19
- export declare class Annotation extends ChildProperty<Annotation> {
20
- /**
21
- * Gets or sets the content for the annotation in maps.
22
- *
23
- * @default ''
24
- * @aspType string
25
- */
26
- content: string | Function;
27
- /**
28
- * Gets or sets the x position of the annotation in pixel or percentage format.
29
- *
30
- * @default '0px'
31
- */
32
- x: string;
33
- /**
34
- * Gets or sets the y position of the annotation in pixel or percentage format.
35
- *
36
- * @default '0px'
37
- */
38
- y: string;
39
- /**
40
- * Gets or sets the type of the placement when the annotation is to be aligned vertically.
41
- *
42
- * @default None
43
- */
44
- verticalAlignment: AnnotationAlignment;
45
- /**
46
- * Gets or sets the type of the placement when the annotation is to be aligned horizontally.
47
- *
48
- * @default None
49
- */
50
- horizontalAlignment: AnnotationAlignment;
51
- /**
52
- * Gets or sets the z-index of the annotation in maps.
53
- *
54
- * @default '-1'
55
- */
56
- zIndex: string;
57
- }
58
- /**
59
- * Gets or sets the options to customize the arrow in the navigation line.
60
- */
61
- export declare class Arrow extends ChildProperty<Arrow> {
62
- /**
63
- * Gets or sets the type of the position to place the arrow in navigation lines.
64
- *
65
- * @default 'Start'
66
- */
67
- position: string;
68
- /**
69
- * Enables or disables the visibility of the arrow in navigation line.
70
- *
71
- * @default false
72
- */
73
- showArrow: boolean;
74
- /**
75
- * Gets or sets the size of the arrow in navigation line in maps.
76
- *
77
- * @default 2
78
- */
79
- size: number;
80
- /**
81
- * Gets or sets the color for the arrow in navigation line.
82
- *
83
- * @default 'black'
84
- */
85
- color: string;
86
- /**
87
- * Gets or sets the offset value to position the arrow from the navigation line.
88
- *
89
- * @default 0
90
- */
91
- offSet: number;
92
- }
93
- /**
94
- * Gets or sets the options to customize the style of the text in data label, legend and other texts in maps.
95
- */
96
- export declare class Font extends ChildProperty<Font> {
97
- /**
98
- * Gets or sets the size for the text in data label, legend and other texts.
99
- */
100
- size: string;
101
- /**
102
- * Gets or sets the color for the text in data label, legend and other texts in maps.
103
- */
104
- color: string;
105
- /**
106
- * Gets or sets the font family of the text in data label, legend and other texts in maps.
107
- */
108
- fontFamily: string;
109
- /**
110
- * Gets or sets the font weight of the text in data label, legend and other texts in maps.
111
- */
112
- fontWeight: string;
113
- /**
114
- * Gets or sets the style of the text in data label, legend and other texts in maps.
115
- */
116
- fontStyle: string;
117
- /**
118
- * Gets or sets the opacity for the text in data label, legend and other texts in maps.
119
- *
120
- * @default 1
121
- */
122
- opacity: number;
123
- }
124
- /**
125
- * Specifies the options to customize the buttons in the zoom toolbar.
126
- */
127
- export declare class ZoomToolbarButtonSettings extends ChildProperty<ZoomToolbarButtonSettings> {
128
- /**
129
- * Gets or sets the fill color of the button.
130
- *
131
- * @default 'transparent'
132
- */
133
- fill: string;
134
- /**
135
- * Gets or sets the color of the icons inside the button.
136
- *
137
- * @default null
138
- */
139
- color: string;
140
- /**
141
- * Gets or sets the opacity of the border of the button in the zoom toolbar.
142
- *
143
- * @default 1
144
- */
145
- borderOpacity: number;
146
- /**
147
- * Gets or sets the width of the border of the button in the zoom toolbar.
148
- *
149
- * @default 1
150
- */
151
- borderWidth: number;
152
- /**
153
- * Gets or sets the color of the border of the button in the zoom toolbar.
154
- *
155
- * @default null
156
- */
157
- borderColor: string;
158
- /**
159
- * Gets or sets the radius of the button. This property is used to modify the size of the button.
160
- *
161
- * @default null
162
- */
163
- radius: number;
164
- /**
165
- * Gets or sets the color of the icons inside the button when selection is performed.
166
- *
167
- * @default null
168
- */
169
- selectionColor: string;
170
- /**
171
- * Gets or sets the color for the button when the mouse has hovered on the same.
172
- *
173
- * @default null
174
- */
175
- highlightColor: string;
176
- /**
177
- * Gets or sets the padding space between each button.
178
- *
179
- * @default 5
180
- */
181
- padding: number;
182
- /**
183
- * Gets or sets the opacity of the button.
184
- *
185
- * @default 1
186
- */
187
- opacity: number;
188
- /**
189
- * Gets or sets the items that should be displayed in the Maps zoom toolbar. By default, zoom-in, zoom-out, and reset buttons are visible. Other options include selection zoom and panning.
190
- *
191
- * @default ZoomIn
192
- */
193
- toolbarItems: ToolbarItem[];
194
- }
195
- /**
196
- * Specifies the options to customize the tooltip of the zoom toolbar.
197
- */
198
- export declare class ZoomToolbarTooltipSettings extends ChildProperty<ZoomToolbarTooltipSettings> {
199
- /**
200
- * Enables or disables the tooltip of the zoom toolbar.
201
- *
202
- * @default true
203
- */
204
- visible: boolean;
205
- /**
206
- * Gets or sets the background color of the tooltip of the zoom toolbar.
207
- *
208
- * @default 'white'
209
- */
210
- fill: string;
211
- /**
212
- * Gets or sets the opacity of the border of the tooltip of the zoom toolbar.
213
- *
214
- * @default 1
215
- */
216
- borderOpacity: number;
217
- /**
218
- * Gets or sets the width of the border of the tooltip of the zoom toolbar.
219
- *
220
- * @default 1
221
- */
222
- borderWidth: number;
223
- /**
224
- * Gets or sets the color of the border of the tooltip of the zoom toolbar.
225
- *
226
- * @default '#707070'
227
- */
228
- borderColor: string;
229
- /**
230
- * Gets or sets the color of the text in the tooltip of the zoom toolbar.
231
- *
232
- * @default 'black'
233
- */
234
- fontColor: string;
235
- /**
236
- * Gets or sets the font family of the text in the tooltip of the zoom toolbar.
237
- *
238
- * @default ''
239
- */
240
- fontFamily: string;
241
- /**
242
- * Gets or sets the font style of the text in the tooltip of the zoom toolbar.
243
- *
244
- * @default ''
245
- */
246
- fontStyle: string;
247
- /**
248
- * Gets or sets the font weight of the text in the tooltip of the zoom toolbar.
249
- *
250
- * @default ''
251
- */
252
- fontWeight: string;
253
- /**
254
- * Gets or sets the size of the text in the tooltip of the zoom toolbar.
255
- *
256
- * @default ''
257
- */
258
- fontSize: string;
259
- /**
260
- * Gets or sets the font opacity of the text in the tooltip of the zoom toolbar.
261
- *
262
- * @default 1
263
- */
264
- fontOpacity: number;
265
- }
266
- /**
267
- * Sets and gets the options to customize the border of the zoom toolbar.
268
- */
269
- export declare class ZoomToolbarSettings extends ChildProperty<ZoomToolbarSettings> {
270
- /**
271
- * Gets or sets the background color of the zoom toolbar.
272
- *
273
- * @default 'transparent'
274
- */
275
- backgroundColor: string;
276
- /**
277
- * Gets or sets the opacity of the border of the zoom toolbar.
278
- *
279
- * @default 1
280
- */
281
- borderOpacity: number;
282
- /**
283
- * Gets or sets the thickness of the border of the zoom toolbar.
284
- *
285
- * @default 1
286
- */
287
- borderWidth: number;
288
- /**
289
- * Gets or sets the color of the border of the zoom toolbar.
290
- *
291
- * @default 'transparent'
292
- */
293
- borderColor: string;
294
- /**
295
- * Gets or sets the placement of the zoom toolbar when it is placed horizontally.
296
- *
297
- * @default Far
298
- */
299
- horizontalAlignment: Alignment;
300
- /**
301
- * Gets or sets the placement of the zoom toolbar when it is placed vertically.
302
- *
303
- * @default Near
304
- */
305
- verticalAlignment: Alignment;
306
- /**
307
- * Gets or sets the orientation of the zoom toolbar.
308
- *
309
- * @default Horizontal
310
- */
311
- orientation: Orientation;
312
- /**
313
- * Specifies the options to customize the buttons in the zoom toolbar.
314
- *
315
- */
316
- buttonSettings: ZoomToolbarButtonSettingsModel;
317
- /**
318
- * Specifies the options to customize the tooltip in the zoom toolbar.
319
- *
320
- */
321
- tooltipSettings: ZoomToolbarTooltipSettingsModel;
322
- }
323
- /**
324
- * Gets or sets the options to customize the border of the maps.
325
- */
326
- export declare class Border extends ChildProperty<Border> {
327
- /**
328
- * Gets or sets the color of the border. This property accepts the value in hex code and rgba string as a valid CSS color string.
329
- */
330
- color: string;
331
- /**
332
- * Gets or sets the width of the border of the maps.
333
- */
334
- width: number;
335
- /**
336
- * Gets or sets the opacity of the border of the maps.
337
- */
338
- opacity: number;
339
- }
340
- /**
341
- * Gets or sets the values to change the center position of the maps.
342
- */
343
- export declare class CenterPosition extends ChildProperty<CenterPosition> {
344
- /**
345
- * Gets or sets the latitude of the center position of maps.
346
- *
347
- * @default null
348
- */
349
- latitude: number;
350
- /**
351
- * Gets or sets the longitude of the center position of maps.
352
- *
353
- * @default null
354
- */
355
- longitude: number;
356
- }
357
- /**
358
- * Gets or sets the options to customize the tooltip of layers, markers, and bubble in maps.
359
- */
360
- export declare class TooltipSettings extends ChildProperty<TooltipSettings> {
361
- /**
362
- * Enables or disables the tooltip visibility of layers, markers, and bubbles in maps.
363
- *
364
- * @default false
365
- */
366
- visible: boolean;
367
- /**
368
- * Gets or sets the tooltip template of layers, markers, and bubbles in maps to display custom elements as tooltip.
369
- *
370
- * @default ''
371
- * @aspType string
372
- */
373
- template: string | Function;
374
- /**
375
- * Gets or sets the color of the tooltip in layers, markers, and bubbles of maps.
376
- *
377
- * @default ''
378
- */
379
- fill: string;
380
- /**
381
- * Gets or sets the options for customizing the style properties of the border of the tooltip in layers, markers, and bubbles of maps.
382
- */
383
- border: BorderModel;
384
- /**
385
- * Gets or sets the options for customizing the style of the text in tooltip for layers, markers, and bubbles of maps.
386
- */
387
- textStyle: FontModel;
388
- /**
389
- * Gets or sets the format of the tooltip in layers, markers, and bubbles of maps.
390
- *
391
- * @default null
392
- */
393
- format: string;
394
- /**
395
- * Gets or sets the field name from the data source based on which the tooltip is visible on layers, markers, and bubbles of maps.
396
- * For the layer tooltip, the field name from the GeoJSON data can also be set.
397
- *
398
- * @default null
399
- */
400
- valuePath: string;
401
- /**
402
- * Specifies the value within which the tooltip will be removed on a mobile device. The value represents time in milliseconds.
403
- * If the value is set to 0, the tooltip will not be removed. If the value is set to greater than 0, the tooltip will be removed at the specified time.
404
- *
405
- * @default 2000
406
- */
407
- duration: number;
408
- }
409
- /**
410
- * Specifies the properties such as visibility, fill, border and text style to customize the tooltip.
411
- */
412
- export declare class PolygonTooltipSettings extends ChildProperty<PolygonTooltipSettings> {
413
- /**
414
- * Shows or hides the tooltip of the polygon shapes. When this property is set as false, the tooltip for all the polygon shapes in a layer will not be visible.
415
- *
416
- * @default false
417
- */
418
- visible: boolean;
419
- /**
420
- * Gets or sets the fill color for the tooltip of the polygon shape.
421
- *
422
- * @default ''
423
- */
424
- fill: string;
425
- /**
426
- * Gets or sets the attributes such as width, color and opacity of the border of the tooltip element of the polygon shape.
427
- */
428
- border: BorderModel;
429
- /**
430
- * Gets or sets the font properties of the text content of the tooltip element of the polygon shape.
431
- */
432
- textStyle: FontModel;
433
- /**
434
- * Specifies the value within which the tooltip will be removed on a mobile device. The value represents time in milliseconds.
435
- * If the value is set to 0, the tooltip will not be removed. If the value is set to greater than 0, the tooltip will be removed at the specified time.
436
- *
437
- * @default 2000
438
- */
439
- duration: number;
440
- }
441
- /**
442
- * Gets or sets the options to customize the margin of the maps.
443
- */
444
- export declare class Margin extends ChildProperty<Margin> {
445
- /**
446
- * Gets or sets the left margin of maps.
447
- *
448
- * @default 10
449
- */
450
- left: number;
451
- /**
452
- * Gets or sets the right margin of maps.
453
- *
454
- * @default 10
455
- */
456
- right: number;
457
- /**
458
- * Gets or sets the top margin of maps.
459
- *
460
- * @default 10
461
- */
462
- top: number;
463
- /**
464
- * Gets or sets the bottom margin of maps.
465
- *
466
- * @default 10
467
- */
468
- bottom: number;
469
- }
470
- /**
471
- * Gets or sets the options to customize the lines that connect the markers in marker cluster of the maps.
472
- */
473
- export declare class ConnectorLineSettings extends ChildProperty<ConnectorLineSettings> {
474
- /**
475
- * Gets or sets the color for connector line between the markers in marker cluster.
476
- *
477
- * @default '#000000'
478
- */
479
- color: string;
480
- /**
481
- * Gets or sets the line width for connector line between the markers in marker cluster.
482
- *
483
- * @default 1
484
- */
485
- width: number;
486
- /**
487
- * Gets or sets the opacity for connector line between the markers in marker cluster.
488
- *
489
- * @default 1
490
- */
491
- opacity: number;
492
- }
493
- /**
494
- * Gets or sets the options to customize the cluster of markers in maps.
495
- */
496
- export declare class MarkerClusterSettings extends ChildProperty<MarkerClusterSettings> {
497
- /**
498
- * Enables or disables the visibility of the cluster of markers in the maps.
499
- *
500
- * @default false
501
- */
502
- allowClustering: boolean;
503
- /**
504
- * Enables or disables intense marker clustering for improved accuracy.
505
- * The default value is true, and clustering logic will be executed twice for improved accuracy.
506
- * If set to false, the clustering logic will only be executed once, increasing performance while maintaining decent accuracy.
507
- *
508
- * @default true
509
- */
510
- allowDeepClustering: boolean;
511
- /**
512
- * Gets or sets the options for customizing the style properties of the border of the clusters in maps.
513
- */
514
- border: BorderModel;
515
- /**
516
- * Gets or sets the fill color of the cluster.
517
- *
518
- * @default '#D2691E'
519
- */
520
- fill: string;
521
- /**
522
- * Gets or sets the opacity of the marker cluster.
523
- *
524
- * @default 1
525
- */
526
- opacity: number;
527
- /**
528
- * Gets or sets shape of the marker cluster.
529
- *
530
- * @default Rectangle
531
- */
532
- shape: MarkerType;
533
- /**
534
- * Gets or sets the width of the marker cluster in maps.
535
- *
536
- * @default 12
537
- */
538
- width: number;
539
- /**
540
- * Gets or sets the height of the marker cluster in maps.
541
- *
542
- * @default 12
543
- */
544
- height: number;
545
- /**
546
- * Gets or sets the offset value to position the marker cluster from the intended position in maps.
547
- */
548
- offset: Point;
549
- /**
550
- * Gets or sets the URL path for the marker cluster when the cluster shape is set as image in maps.
551
- *
552
- * @default ''
553
- */
554
- imageUrl: string;
555
- /**
556
- * Gets or sets the dash array for the marker cluster in maps.
557
- *
558
- * @default ''
559
- */
560
- dashArray: string;
561
- /**
562
- * Gets or sets the options to customize the label text in marker cluster.
563
- */
564
- labelStyle: FontModel;
565
- /**
566
- * Enables or disables the expanding of the clusters when many markers are in same location.
567
- *
568
- * @default false
569
- */
570
- allowClusterExpand: boolean;
571
- /**
572
- * Gets or sets the options to customize the connector line which is visible on cluster expand.
573
- */
574
- connectorLineSettings: ConnectorLineSettingsModel;
575
- }
576
- /**
577
- * Gets or sets the data in the marker cluster.
578
- */
579
- export declare class MarkerClusterData extends ChildProperty<MarkerClusterData> {
580
- /**
581
- * Gets or sets the data for the marker cluster.
582
- *
583
- * @private
584
- */
585
- data: Object[];
586
- /**
587
- * Gets or sets the index value for the layer in which the marker cluster is rendered.
588
- *
589
- * @private
590
- */
591
- layerIndex: number;
592
- /**
593
- * Gets or sets the index value for the marker in the maps.
594
- *
595
- * @private
596
- */
597
- markerIndex: number;
598
- /**
599
- * Gets or sets the index value for the marker in the maps.
600
- *
601
- * @private
602
- */
603
- dataIndex: number;
604
- /**
605
- * Gets or sets the index value for cluster for which the click operation is triggered.
606
- *
607
- * @private
608
- */
609
- targetClusterIndex: number;
610
- /**
611
- * Enables or disables the same cluster occurs in maps.
612
- *
613
- * @private
614
- */
615
- isClusterSame: boolean;
616
- }
617
- /**
618
- * Gets or sets the options to customize the color-mapping in maps.
619
- */
620
- export declare class ColorMappingSettings extends ChildProperty<ColorMappingSettings> {
621
- /**
622
- * Gets or sets the value from where the range for the color-mapping starts.
623
- *
624
- * @aspDefaultValueIgnore
625
- * @default null
626
- */
627
- from: number;
628
- /**
629
- * Gets or sets the value to where the range for the color-mapping ends.
630
- *
631
- * @aspDefaultValueIgnore
632
- * @default null
633
- */
634
- to: number;
635
- /**
636
- * Gets or sets the value from the data source to map the corresponding colors to the shapes.
637
- *
638
- * @default null
639
- */
640
- value: string;
641
- /**
642
- * Gets or sets the color for the color-mapping in maps.
643
- *
644
- * @default null
645
- */
646
- color: string | string[];
647
- /**
648
- * Gets or sets the minimum opacity for the color-mapping in maps.
649
- *
650
- * @default null
651
- */
652
- minOpacity: number;
653
- /**
654
- * Gets or sets the maximum opacity for the color-mapping in maps.
655
- *
656
- * @default null
657
- */
658
- maxOpacity: number;
659
- /**
660
- * Gets or sets the label for the color-mapping to display in the legend item text.
661
- *
662
- * @default null
663
- */
664
- label: string;
665
- /**
666
- * Enables or disables the visibility of legend for the corresponding color-mapped shapes in maps.
667
- *
668
- * @default true
669
- */
670
- showLegend: boolean;
671
- }
672
- /**
673
- * Gets or sets the options to select the marker shape when the maps is loaded initially.
674
- * The initial selection of the markers will work only when the selection settings of marker is enabled.
675
- */
676
- export declare class InitialMarkerSelectionSettings extends ChildProperty<InitialMarkerSelectionSettings> {
677
- /**
678
- * Specifies the latitude of the marker to be selected.
679
- *
680
- * @default null
681
- */
682
- latitude: number;
683
- /**
684
- * Specifies the longitude of the marker to be selected.
685
- *
686
- * @default null
687
- */
688
- longitude: number;
689
- }
690
- /**
691
- * Gets or sets the options to select the shapes when the maps is loaded initially.
692
- * The initial selection of the shapes will work only when the selection settings of layer is enabled.
693
- */
694
- export declare class InitialShapeSelectionSettings extends ChildProperty<InitialShapeSelectionSettings> {
695
- /**
696
- * Gets or sets the property name from the data source in maps.
697
- *
698
- * @default null
699
- */
700
- shapePath: string;
701
- /**
702
- * Gets or sets the value from the data source which is bound to the shape in maps.
703
- *
704
- * @default null
705
- */
706
- shapeValue: string;
707
- }
708
- /**
709
- * Gets or sets the options to customize the maps on selecting the shapes.
710
- */
711
- export declare class SelectionSettings extends ChildProperty<SelectionSettings> {
712
- /**
713
- * Enables or disables the selection for the layers, markers and bubbles in maps.
714
- *
715
- * @default false
716
- */
717
- enable: boolean;
718
- /**
719
- * Gets or sets the color for the shape that is selected.
720
- *
721
- * @default null
722
- */
723
- fill: string;
724
- /**
725
- * Gets or sets the opacity for the shape that is selected.
726
- *
727
- * @default 1
728
- */
729
- opacity: number;
730
- /**
731
- * Enables or disables the selection of multiple shapes in maps.
732
- *
733
- * @default false
734
- */
735
- enableMultiSelect: boolean;
736
- /**
737
- * Gets or sets the options for customizing the color and width of the border of selected shapes in maps.
738
- */
739
- border: BorderModel;
740
- }
741
- /**
742
- * Gets or sets the options to customize the shapes on which the mouse has hovered in maps.
743
- */
744
- export declare class HighlightSettings extends ChildProperty<HighlightSettings> {
745
- /**
746
- * Gets or sets the color for the shapes on which the mouse has hovered in maps.
747
- *
748
- * @default null
749
- */
750
- fill: string;
751
- /**
752
- * Enables or disables the highlight functionality of the layers in maps.
753
- *
754
- * @default false
755
- */
756
- enable: boolean;
757
- /**
758
- * Gets or sets the opacity for the highlighted shapes in maps.
759
- *
760
- * @default 1
761
- */
762
- opacity: number;
763
- /**
764
- * Gets or sets the options for customizing the style properties of the border of the highlighted shapes in maps.
765
- */
766
- border: BorderModel;
767
- }
768
- /**
769
- * Defines the properties for a single polygon shape to render over the Maps, such as coordinates, fill, border, and opacity.
770
- */
771
- export declare class PolygonSetting extends ChildProperty<PolygonSettings> {
772
- /**
773
- * Gets or sets the width of the border of the polygon shape.
774
- *
775
- * @default 1
776
- */
777
- borderWidth: number;
778
- /**
779
- * Gets or sets the opacity of the border of the polygon shape.
780
- *
781
- * @default 1
782
- */
783
- borderOpacity: number;
784
- /**
785
- * Gets or sets the opacity of the polygon shape.
786
- *
787
- * @default 1
788
- */
789
- opacity: number;
790
- /**
791
- * Gets or sets the color to be used in the border of the polygon shape.
792
- *
793
- * @default 'black'
794
- */
795
- borderColor: string;
796
- /**
797
- * Gets or sets the color to be filled in the polygon shape.
798
- *
799
- * @default 'black'
800
- */
801
- fill: string;
802
- /**
803
- * Gets or sets the points that define the polygon shape.
804
- * This property holds a collection of coordinates that define the polygon shape.
805
- *
806
- * @default []
807
- */
808
- points: Coordinate[];
809
- /**
810
- * Specifies the tooltip text to be displayed for the polygon shape. If it is not set, the tooltip will not be displayed.
811
- *
812
- * @default ''
813
- */
814
- tooltipText: string;
815
- /**
816
- * Specifies any HTML content as a tooltip on the polygon shape. If it is not set, the tooltip will not be displayed.
817
- *
818
- * @default ''
819
- * @aspType string
820
- */
821
- tooltipTemplate: string | Function;
822
- }
823
- /**
824
- * Defines the properties of the polygon shapes that will be rendered on a map layer.
825
- * The selection and highlight settings for polygon shapes can also be defined.
826
- */
827
- export declare class PolygonSettings extends ChildProperty<PolygonSettings> {
828
- /**
829
- * Gets or sets the properties of all the polygon shapes that will be displayed in a layer.
830
- * {% codeBlock src='maps/polygonSettingsPolygons/index.md' %}{% endcodeBlock %}
831
- */
832
- polygons: PolygonSettingModel[];
833
- /**
834
- * Gets or sets the properties for selecting polygon shapes in a map layer.
835
- * {% codeBlock src='maps/polygonSettingsSelectionSettings/index.md' %}{% endcodeBlock %}
836
- */
837
- selectionSettings: SelectionSettingsModel;
838
- /**
839
- * Gets or sets the properties for highlighting polygon shapes in a map layer.
840
- * {% codeBlock src='maps/polygonSettingsHighlightSettings/index.md' %}{% endcodeBlock %}
841
- */
842
- highlightSettings: HighlightSettingsModel;
843
- /**
844
- * Specifies the properties such as visibility, fill, border and text style to customize the tooltip.
845
- * {% codeBlock src='maps/polygonSettingsTooltipSettings/index.md' %}{% endcodeBlock %}
846
- */
847
- tooltipSettings: PolygonTooltipSettingsModel;
848
- }
849
- /**
850
- * Gets or sets the options to customize the navigation lines in maps which is used to connect different locations.
851
- */
852
- export declare class NavigationLineSettings extends ChildProperty<NavigationLineSettings> {
853
- /**
854
- * Enables or disables the navigation lines to be drawn in maps.
855
- *
856
- * @default false
857
- */
858
- visible: boolean;
859
- /**
860
- * Gets or sets the width of the navigation lines in maps.
861
- *
862
- * @default 1
863
- */
864
- width: number;
865
- /**
866
- * Gets or sets the longitude for the navigation lines to be drawn in maps.
867
- *
868
- * @default []
869
- */
870
- longitude: number[];
871
- /**
872
- * Gets or sets the latitude value for the navigation lines to be drawn in maps.
873
- *
874
- * @default []
875
- */
876
- latitude: number[];
877
- /**
878
- * Gets or sets the dash-array for the navigation lines drawn in maps.
879
- *
880
- * @default ''
881
- */
882
- dashArray: string;
883
- /**
884
- * Gets or sets the color for the navigation lines in maps.
885
- *
886
- * @default 'black'
887
- */
888
- color: string;
889
- /**
890
- * Gets or sets the angle of the curve connecting different locations in maps.
891
- *
892
- * @default 0
893
- */
894
- angle: number;
895
- /**
896
- * Gets or sets the options to customize the arrow for the navigation line in maps.
897
- */
898
- arrowSettings: ArrowModel;
899
- /**
900
- * Gets or sets the selection settings of the navigation line in maps.
901
- */
902
- selectionSettings: SelectionSettingsModel;
903
- /**
904
- * Gets or sets the highlight settings of the navigation line in maps.
905
- */
906
- highlightSettings: HighlightSettingsModel;
907
- }
908
- /**
909
- * Gets or sets the options to customize the bubble elements in the maps.
910
- */
911
- export declare class BubbleSettings extends ChildProperty<BubbleSettings> {
912
- /**
913
- * Gets or sets the options to customize the style properties of the border for the bubbles in maps.
914
- */
915
- border: BorderModel;
916
- /**
917
- * Enables or disables the visibility of the bubbles in maps.
918
- *
919
- * @default false
920
- */
921
- visible: boolean;
922
- /**
923
- * Gets or sets the data source for the bubble.
924
- * The data source must contain the size value of the bubble that can be bound to the bubble
925
- * of the maps using the `valuePath` property in the `bubbleSettings`.
926
- * The data source can contain data such as color and other informations that can be bound to the bubble and tooltip of the bubble.
927
- *
928
- * @isObservable true
929
- * @default []
930
- */
931
- dataSource: Object[] | DataManager;
932
- /**
933
- * Gets or sets the query to select particular data from the bubble data source.
934
- * This property is applicable only when the data source is created by data manager.
935
- *
936
- * @default null
937
- */
938
- query: Query;
939
- /**
940
- * Gets or sets the duration for the animation of the bubbles in maps.
941
- *
942
- * @default 1000
943
- */
944
- animationDuration: number;
945
- /**
946
- * Gets or sets the delay in animation for the bubbles in maps.
947
- *
948
- * @default 0
949
- */
950
- animationDelay: number;
951
- /**
952
- * Gets or sets the color for the bubbles in maps.
953
- *
954
- * @default ''
955
- */
956
- fill: string;
957
- /**
958
- * Gets or sets the minimum radius for the bubbles in maps.
959
- *
960
- * @default 10
961
- */
962
- minRadius: number;
963
- /**
964
- * Gets or sets the maximum radius for the bubbles in maps.
965
- *
966
- * @default 20
967
- */
968
- maxRadius: number;
969
- /**
970
- * Gets or sets the opacity of the bubbles in maps.
971
- *
972
- * @default 1
973
- */
974
- opacity: number;
975
- /**
976
- * Gets or sets the field name from the data source of bubble settings based on which the bubbles are rendered on the maps.
977
- *
978
- * @default null
979
- */
980
- valuePath: string;
981
- /**
982
- * Gets or sets the type of the bubble in maps.
983
- *
984
- * @default Circle
985
- */
986
- bubbleType: BubbleType;
987
- /**
988
- * Gets or sets the field name from the data source of bubble settings to set the color for each bubble in maps.
989
- *
990
- * @default null
991
- */
992
- colorValuePath: string;
993
- /**
994
- * Gets or sets the color-mapping for the bubbles in maps.
995
- *
996
- * @default []
997
- */
998
- colorMapping: ColorMappingSettingsModel[];
999
- /**
1000
- * Gets or sets the options to customize the tooltip of the bubbles in maps.
1001
- */
1002
- tooltipSettings: TooltipSettingsModel;
1003
- /**
1004
- * Gets or sets the options to customize the selection of the bubbles in maps.
1005
- */
1006
- selectionSettings: SelectionSettingsModel;
1007
- /**
1008
- * Gets or sets the options to customize the highlight of the bubbles in maps.
1009
- */
1010
- highlightSettings: HighlightSettingsModel;
1011
- }
1012
- /**
1013
- * Gets or sets the options to customize the title of the maps.
1014
- */
1015
- export declare class CommonTitleSettings extends ChildProperty<CommonTitleSettings> {
1016
- /**
1017
- * Gets or sets the text for the title in maps.
1018
- *
1019
- * @default ''
1020
- */
1021
- text: string;
1022
- /**
1023
- * Gets or sets the description of the title in maps for assistive technology.
1024
- *
1025
- * @default ''
1026
- */
1027
- description: string;
1028
- }
1029
- /**
1030
- * Gets or sets the options to customize the subtitle of the maps.
1031
- */
1032
- export declare class SubTitleSettings extends CommonTitleSettings {
1033
- /**
1034
- * Gets or sets the options for customizing the text in the subtitle of the maps.
1035
- */
1036
- textStyle: FontModel;
1037
- /**
1038
- * Gets or sets the alignment of the subtitle of the maps.
1039
- *
1040
- * @default Center
1041
- */
1042
- alignment: Alignment;
1043
- }
1044
- /**
1045
- * Gets or sets the options to customize the title of the maps.
1046
- */
1047
- export declare class TitleSettings extends CommonTitleSettings {
1048
- /**
1049
- * Gets or sets the options for customizing the text of the title in maps.
1050
- */
1051
- textStyle: FontModel;
1052
- /**
1053
- * Gets or sets the alignment of the title of the maps.
1054
- *
1055
- * @default Center
1056
- */
1057
- alignment: Alignment;
1058
- /**
1059
- * Gets or sets the options to customize the subtitle of the maps.
1060
- */
1061
- subtitleSettings: SubTitleSettingsModel;
1062
- }
1063
- /**
1064
- * Gets or sets the options to configure maps zooming operations.
1065
- */
1066
- export declare class ZoomSettings extends ChildProperty<ZoomSettings> {
1067
- /**
1068
- * Enables or disables the zooming operation in the maps.
1069
- *
1070
- * @default false
1071
- */
1072
- enable: boolean;
1073
- /**
1074
- * Enables or disables the panning operation in the maps.
1075
- *
1076
- * @default true
1077
- */
1078
- enablePanning: boolean;
1079
- /**
1080
- * Enables or disables the selection zooming operation in the maps.
1081
- *
1082
- * @default true
1083
- */
1084
- enableSelectionZooming: boolean;
1085
- /**
1086
- * Enables or disables the mouse wheel zooming in maps.
1087
- *
1088
- * @default true
1089
- */
1090
- mouseWheelZoom: boolean;
1091
- /**
1092
- * Enables or disables the double click zooming in maps.
1093
- *
1094
- * @default false
1095
- */
1096
- doubleClickZoom: boolean;
1097
- /**
1098
- * Enables or disables the pinch zooming in maps.
1099
- *
1100
- * @default true
1101
- */
1102
- pinchZooming: boolean;
1103
- /**
1104
- * Enables or disables the zooming on clicking the shapes in maps.
1105
- *
1106
- * @default false
1107
- */
1108
- zoomOnClick: boolean;
1109
- /**
1110
- * Gets or sets the factor of zoom to be displayed while rendering the maps.
1111
- *
1112
- * @default 1
1113
- */
1114
- zoomFactor: number;
1115
- /**
1116
- * Gets or sets the maximum zooming value in maps.
1117
- *
1118
- * @default 10
1119
- */
1120
- maxZoom: number;
1121
- /**
1122
- * Gets or sets the minimum zooming value in maps.
1123
- *
1124
- * @default 1
1125
- */
1126
- minZoom: number;
1127
- /**
1128
- * Enables or disables the ability to zoom based on the marker position while rendering the maps.
1129
- *
1130
- * @default false
1131
- */
1132
- shouldZoomInitially: boolean;
1133
- /**
1134
- * Enables or disables the zoom to set to the initial State.
1135
- *
1136
- * @default true
1137
- */
1138
- resetToInitial: boolean;
1139
- /**
1140
- * Gets or sets the detailed options to customize the entire zoom toolbar.
1141
- */
1142
- toolbarSettings: ZoomToolbarSettingsModel;
1143
- }
1144
- /**
1145
- * Gets or sets the settings to customize the color-mapping visibility based on the legend visibility.
1146
- */
1147
- export declare class ToggleLegendSettings extends ChildProperty<ToggleLegendSettings> {
1148
- /**
1149
- * Enables or disables the legend to be toggled.
1150
- *
1151
- * @default false
1152
- */
1153
- enable: boolean;
1154
- /**
1155
- * Specifies whether the property of the shape settings is to be set while toggling the legend item.
1156
- *
1157
- * @default true
1158
- */
1159
- applyShapeSettings: boolean;
1160
- /**
1161
- * Gets or sets the opacity for the shape of the legend item which is toggled.
1162
- *
1163
- * @default 1
1164
- */
1165
- opacity: number;
1166
- /**
1167
- * Gets or sets the color of the shape of the legend item which is toggled.
1168
- *
1169
- * @default ''
1170
- */
1171
- fill: string;
1172
- /**
1173
- * Gets or sets the options to customize the style properties of the border for the shape in maps.
1174
- */
1175
- border: BorderModel;
1176
- }
1177
- /**
1178
- * Gets or sets the options to customize the legend of the maps.
1179
- */
1180
- export declare class LegendSettings extends ChildProperty<LegendSettings> {
1181
- /**
1182
- * Enables or disables to render the legend item based on the shapes from the data source of markers.
1183
- *
1184
- * @default false
1185
- */
1186
- useMarkerShape: boolean;
1187
- /**
1188
- * Enables or disables the toggle visibility of the legend in maps.
1189
- *
1190
- * @default false
1191
- */
1192
- toggleVisibility: boolean;
1193
- /**
1194
- * Enables or disables the visibility of the legend in maps.
1195
- *
1196
- * @default false
1197
- */
1198
- visible: boolean;
1199
- /**
1200
- * Gets or sets the background color for the legend in maps.
1201
- *
1202
- * @default 'transparent'
1203
- */
1204
- background: string;
1205
- /**
1206
- * Gets or sets the type of the legend in maps.
1207
- *
1208
- * @default Layers
1209
- */
1210
- type: LegendType;
1211
- /**
1212
- * Enables or disables the visibility of the inverted pointer in interactive legend in maps.
1213
- *
1214
- * @default false
1215
- */
1216
- invertedPointer: boolean;
1217
- /**
1218
- * Gets or sets the position of the label in legend.
1219
- *
1220
- * @default After
1221
- */
1222
- labelPosition: LabelPosition;
1223
- /**
1224
- * Gets or sets the action to perform when the legend item text intersects with others.
1225
- *
1226
- * @default None
1227
- */
1228
- labelDisplayMode: LabelIntersectAction;
1229
- /**
1230
- * Gets or sets the shape of the legend in maps.
1231
- *
1232
- * @default Circle
1233
- */
1234
- shape: LegendShape;
1235
- /**
1236
- * Gets or sets the width of the legend in maps.
1237
- *
1238
- * @default ''
1239
- */
1240
- width: string;
1241
- /**
1242
- * Gets or sets the height of the legend in maps.
1243
- *
1244
- * @default ''
1245
- */
1246
- height: string;
1247
- /**
1248
- * Gets or sets the options for customizing the text styles of the legend item text in maps.
1249
- */
1250
- textStyle: FontModel;
1251
- /**
1252
- * Gets or sets the width of the shapes in legend.
1253
- *
1254
- * @default 15
1255
- */
1256
- shapeWidth: number;
1257
- /**
1258
- * Gets or sets the height of the shapes in legend.
1259
- *
1260
- * @default 15
1261
- */
1262
- shapeHeight: number;
1263
- /**
1264
- * Gets or sets the padding for the shapes in legend.
1265
- *
1266
- * @default 10
1267
- */
1268
- shapePadding: number;
1269
- /**
1270
- * Gets or sets the options for customizing the style properties of the legend border.
1271
- */
1272
- border: BorderModel;
1273
- /**
1274
- * Gets or sets the options for customizing the style properties of the border of the shapes of the legend items.
1275
- */
1276
- shapeBorder: BorderModel;
1277
- /**
1278
- * Gets or sets the title for the legend in maps.
1279
- */
1280
- title: CommonTitleSettingsModel;
1281
- /**
1282
- * Gets or sets the options for customizing the style of the title of the legend in maps.
1283
- */
1284
- titleStyle: FontModel;
1285
- /**
1286
- * Gets or sets the position of the legend in maps.
1287
- *
1288
- * @default Bottom
1289
- */
1290
- position: LegendPosition;
1291
- /**
1292
- * Gets or sets the alignment of the legend in maps.
1293
- *
1294
- * @default Center
1295
- */
1296
- alignment: Alignment;
1297
- /**
1298
- * Gets or sets the orientation of the legend in maps.
1299
- *
1300
- * @default None
1301
- */
1302
- orientation: LegendArrangement;
1303
- /**
1304
- * Gets or sets the location of the legend in pixels when the legend position is set as `Float`.
1305
- */
1306
- location: RelativePoint | Point;
1307
- /**
1308
- * Gets or sets the color of the legend in maps.
1309
- *
1310
- * @default null
1311
- */
1312
- fill: string;
1313
- /**
1314
- * Gets or sets the opacity for the legend in maps.
1315
- *
1316
- * @default 1
1317
- */
1318
- opacity: number;
1319
- /**
1320
- * Gets or sets the mode of the legend in maps. The modes available are default and interactive modes.
1321
- *
1322
- * @default Default
1323
- */
1324
- mode: LegendMode;
1325
- /**
1326
- * Gets or sets the field name from the data source which is used to provide visibility state for each legend item.
1327
- *
1328
- * @default null
1329
- */
1330
- showLegendPath: string;
1331
- /**
1332
- * Set and gets the field name from the data source to display the legend item text.
1333
- *
1334
- * @default null
1335
- */
1336
- valuePath: string;
1337
- /**
1338
- * Enables or disables the ability to remove the duplicate legend item.
1339
- *
1340
- * @default false
1341
- */
1342
- removeDuplicateLegend: boolean;
1343
- /**
1344
- * Gets or sets the options for customizing the color and border width of the shape related to the legend when selecting the legend.
1345
- */
1346
- toggleLegendSettings: ToggleLegendSettingsModel;
1347
- }
1348
- /**
1349
- * Gets or sets the options to customize the data labels in maps.
1350
- */
1351
- export declare class DataLabelSettings extends ChildProperty<DataLabelSettings> {
1352
- /**
1353
- * Enables or disables the visibility of data labels in maps.
1354
- *
1355
- * @default false
1356
- */
1357
- visible: boolean;
1358
- /**
1359
- * Gets or sets the options for customizing the style properties of the border of the data labels.
1360
- */
1361
- border: BorderModel;
1362
- /**
1363
- * Gets or sets the background color for the data labels in maps.
1364
- *
1365
- * @default 'black'
1366
- */
1367
- fill: string;
1368
- /**
1369
- * Gets or sets the opacity of the data labels in maps.
1370
- *
1371
- * @default 1
1372
- */
1373
- opacity: number;
1374
- /**
1375
- * Gets or sets the x position for the data labels.
1376
- *
1377
- * @default 10
1378
- */
1379
- rx: number;
1380
- /**
1381
- * Gets or sets the y position for the data labels in maps.
1382
- *
1383
- * @default 10
1384
- */
1385
- ry: number;
1386
- /**
1387
- * Gets or sets the options for customizing the styles of the text in data labels.
1388
- */
1389
- textStyle: FontModel;
1390
- /**
1391
- * Gets or sets the field name from the data source based on which the data labels gets rendered.
1392
- * The field name from the GeoJSON data can also be set.
1393
- *
1394
- * @default ''
1395
- */
1396
- labelPath: string;
1397
- /**
1398
- * Gets or sets the action to be performed when the data labels exceeds the shape over which it is rendered.
1399
- *
1400
- * @default None
1401
- */
1402
- smartLabelMode: SmartLabelMode;
1403
- /**
1404
- * Gets or sets the action to be performed when a data-label intersect with other data labels in maps.
1405
- *
1406
- * @default None
1407
- */
1408
- intersectionAction: IntersectAction;
1409
- /**
1410
- * Gets or sets the template for the data labels to render custom elements.
1411
- *
1412
- * @default ''
1413
- * @aspType string
1414
- */
1415
- template: string | Function;
1416
- /**
1417
- * Gets and sets the duration time for animating the data label.
1418
- *
1419
- * @default 0
1420
- */
1421
- animationDuration: number;
1422
- }
1423
- /**
1424
- * Gets or sets the options to customize the shapes in the maps.
1425
- */
1426
- export declare class ShapeSettings extends ChildProperty<ShapeSettings> {
1427
- /**
1428
- * Gets or sets the color of the shapes in maps.
1429
- *
1430
- * @default null
1431
- */
1432
- fill: string;
1433
- /**
1434
- * Gets or sets a set of colors for the shapes in maps.
1435
- *
1436
- * @default []
1437
- */
1438
- palette: string[];
1439
- /**
1440
- * Gets or sets the radius of the "Point" and "MultiPoint" geometry shapes.
1441
- * This property will be applicable only when the GeoJSON data has "Point" and "MultiPoint" geometry types.
1442
- */
1443
- circleRadius: number;
1444
- /**
1445
- * Gets or sets the options for customizing the style properties of the border for the shapes in maps.
1446
- */
1447
- border: BorderModel;
1448
- /**
1449
- * Gets or sets the dash-array for the shapes in maps.
1450
- */
1451
- dashArray: string;
1452
- /**
1453
- * Gets or sets the opacity for the shapes in maps.
1454
- *
1455
- * @default 1
1456
- */
1457
- opacity: number;
1458
- /**
1459
- * Gets or sets the field name from the data source to set the color for the shapes in maps.
1460
- *
1461
- * @default null
1462
- */
1463
- colorValuePath: string;
1464
- /**
1465
- * Gets or sets the field name from the data source to set the color for the border of a particular shape in maps.
1466
- *
1467
- * @default null
1468
- */
1469
- borderColorValuePath: string;
1470
- /**
1471
- * Gets or sets the field name from the data source to set the width for the border of a particular shape in maps.
1472
- *
1473
- * @default null
1474
- */
1475
- borderWidthValuePath: string;
1476
- /**
1477
- * Gets or sets the value from the data source based on which the shape gets rendered.
1478
- *
1479
- * @default null
1480
- */
1481
- valuePath: string;
1482
- /**
1483
- * Gets or sets the options to map the color for some set of the shapes in maps.
1484
- *
1485
- * @default []
1486
- */
1487
- colorMapping: ColorMappingSettingsModel[];
1488
- /**
1489
- * Enables or disables the filling of color, based on the palette, for the shapes automatically.
1490
- *
1491
- * @default false
1492
- */
1493
- autofill: boolean;
1494
- }
1495
- /**
1496
- * Gets or sets the options to customize the markers in the maps.
1497
- */
1498
- export declare class MarkerBase extends ChildProperty<MarkerBase> {
1499
- /**
1500
- * Gets or sets the options for customizing the style properties of the border of the marker in maps.
1501
- */
1502
- border: BorderModel;
1503
- /**
1504
- * Gets or sets the dash-array for the marker.
1505
- */
1506
- dashArray: string;
1507
- /**
1508
- * Enables or disables the visibility of the markers in maps.
1509
- *
1510
- * @default false
1511
- */
1512
- visible: boolean;
1513
- /**
1514
- * Enables or disables marker drag and drop functionality at any location on the map.
1515
- *
1516
- * @default false
1517
- */
1518
- enableDrag: boolean;
1519
- /**
1520
- * Gets or sets the color for the marker in maps.
1521
- *
1522
- * @default '#FF471A'
1523
- */
1524
- fill: string;
1525
- /**
1526
- * Gets or sets the field name from the data source that determines the marker height.
1527
- *
1528
- * @default null
1529
- */
1530
- heightValuePath: string;
1531
- /**
1532
- * Gets or sets the field name from the data source that determines the marker width.
1533
- *
1534
- * @default null
1535
- */
1536
- widthValuePath: string;
1537
- /**
1538
- * Gets or sets the height of the marker in maps.
1539
- *
1540
- * @default 10
1541
- */
1542
- height: number;
1543
- /**
1544
- * Gets or sets the width of the marker in maps.
1545
- *
1546
- * @default 10
1547
- */
1548
- width: number;
1549
- /**
1550
- * Gets or sets the opacity for the marker in maps.
1551
- *
1552
- * @default 1
1553
- */
1554
- opacity: number;
1555
- /**
1556
- * Gets or sets the field name from the marker data source based on which the color is applied for the marker.
1557
- *
1558
- * @default null
1559
- */
1560
- colorValuePath: string;
1561
- /**
1562
- * Gets or sets the field name from the marker data source based on which the shape for individual markers are set.
1563
- *
1564
- * @default null
1565
- */
1566
- shapeValuePath: string;
1567
- /**
1568
- * 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.
1569
- *
1570
- * @default null
1571
- */
1572
- imageUrlValuePath: string;
1573
- /**
1574
- * Gets or sets the shape of the marker in maps.
1575
- *
1576
- * @default Balloon
1577
- */
1578
- shape: MarkerType;
1579
- /**
1580
- * Gets or sets the field name from the marker data source to render legend item text for the marker legend.
1581
- *
1582
- * @default ''
1583
- */
1584
- legendText: string;
1585
- /**
1586
- * Gets or sets the offset value from which the marker must be rendered from the intended position.
1587
- *
1588
- */
1589
- offset: Point;
1590
- /**
1591
- * 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.
1592
- */
1593
- imageUrl: string;
1594
- /**
1595
- * Gets or sets the template for the marker to render custom elements.
1596
- *
1597
- * @default null
1598
- * @aspType string
1599
- */
1600
- template: string | Function;
1601
- /**
1602
- * Gets or sets the data source for the marker.
1603
- * The data source for the marker will contain latitude and longitude values to specify the location
1604
- * of the marker.
1605
- * The data source can contain data such as color, shape, and other details that can be bound to the color, shape,
1606
- * and tooltip of the marker.
1607
- *
1608
- * @isObservable true
1609
- * @default []
1610
- */
1611
- dataSource: Object[] | DataManager;
1612
- /**
1613
- * Gets or sets the query to select particular data from the marker data source.
1614
- * This property is applicable only when the data source is created by data manager.
1615
- *
1616
- * @default null
1617
- */
1618
- query: Query;
1619
- /**
1620
- * Gets or sets the options to customize the tooltip of the marker in maps.
1621
- */
1622
- tooltipSettings: TooltipSettingsModel;
1623
- /**
1624
- * Gets or sets the duration time for animating the marker.
1625
- *
1626
- * @default 1000
1627
- */
1628
- animationDuration: number;
1629
- /**
1630
- * Gets or sets the delay time for the animation in marker.
1631
- *
1632
- * @default 0
1633
- */
1634
- animationDelay: number;
1635
- /**
1636
- * Gets or sets the options to customize the marker while selecting the marker in maps.
1637
- */
1638
- selectionSettings: SelectionSettingsModel;
1639
- /**
1640
- * Gets or sets the options to customize the marker when the mouse hovers over the markers in maps.
1641
- */
1642
- highlightSettings: HighlightSettingsModel;
1643
- /**
1644
- * Defines the field name from the marker data source for setting latitude for a set of markers.
1645
- */
1646
- latitudeValuePath: string;
1647
- /**
1648
- * Defines the field name from the marker data source for setting longitude for a set of markers.
1649
- */
1650
- longitudeValuePath: string;
1651
- /**
1652
- * Gets or sets the options to select the markers at the initial rendering time of the maps.
1653
- * The initial selection of markers will be performed only when the selection functionality of marker is enabled.
1654
- */
1655
- initialMarkerSelection: InitialMarkerSelectionSettingsModel[];
1656
- /**
1657
- * Gets or sets the options for customizing the clustering of markers on the map.
1658
- * This property is used to cluster markers based on the current marker settings, and it is applied only when the `allowClustering` property is enabled.
1659
- */
1660
- clusterSettings: MarkerClusterSettingsModel;
1661
- }
1662
- /**
1663
- * Gets or sets the options to customize the markers in the maps.
1664
- */
1665
- export declare class MarkerSettings extends MarkerBase {
1666
- constructor(parent: any, propName: string, defaultValue: Object, isArray?: boolean);
1667
- }
1668
- /**
1669
- * Gets or sets the options to customize the layers of the maps.
1670
- */
1671
- export declare class LayerSettings extends ChildProperty<LayerSettings> {
1672
- /**
1673
- * Gets or sets the data for the maps to render.
1674
- * The data is normally JSON object with GeoJSON format that defines the shapes and geometries of the map.
1675
- *
1676
- * @isObservable true
1677
- * @default null
1678
- */
1679
- shapeData: Object | DataManager | MapAjax;
1680
- /**
1681
- * Gets or sets the query to select particular data from the layer data source.
1682
- * This property is applicable only when the data source is created by data manager.
1683
- *
1684
- * @default null
1685
- */
1686
- query: Query;
1687
- /**
1688
- * Gets or sets the options to customize the shape of the maps.
1689
- */
1690
- shapeSettings: ShapeSettingsModel;
1691
- /**
1692
- * Gets or sets the data source for the layer.
1693
- * The data bound to the shapes using data source can be used to display the tooltip, marker, and bubble.
1694
- *
1695
- * @isObservable true
1696
- * @default []
1697
- */
1698
- dataSource: Object[] | DataManager | MapAjax;
1699
- /**
1700
- * Gets or sets the type of the layer in maps. There are two types: Layer and SubLayer.
1701
- *
1702
- * @default Layer
1703
- */
1704
- type: Type;
1705
- /**
1706
- * Gets or sets the geometry type for the layer in maps. There are two types: Geographic and Normal.
1707
- * - Geographic type renders the shape maps with geographical coordinate system.
1708
- * - Normal type renders the shape maps using default coordinate system.
1709
- *
1710
- * @default Geographic
1711
- */
1712
- geometryType: GeometryType;
1713
- /**
1714
- * Gets or sets the URL of the online map providers.
1715
- * The online map providers will be rendered only when the shape data is not set and layer type is set with default value.
1716
- *
1717
- * @default ''
1718
- */
1719
- urlTemplate: string;
1720
- /**
1721
- * Enables or disables the visibility of the layers in maps.
1722
- *
1723
- * @default true
1724
- */
1725
- visible: boolean;
1726
- /**
1727
- * Gets or sets the field name from the GeoJSON data to map the shape to the data defined in the layer data source.
1728
- *
1729
- * @default 'name'
1730
- */
1731
- shapeDataPath: string;
1732
- /**
1733
- * Gets or sets the field name from the data source to map the shape to the data defined in the layer data source.
1734
- *
1735
- * @default 'name'
1736
- */
1737
- shapePropertyPath: string | string[];
1738
- /**
1739
- * Gets or sets the duration of the animation of layers when the zooming is performed in maps.
1740
- *
1741
- * @default 0
1742
- */
1743
- animationDuration: number;
1744
- /**
1745
- * Gets or sets the options for customizing the markers in maps.
1746
- */
1747
- markerSettings: MarkerSettingsModel[];
1748
- /**
1749
- * Gets or sets the options for customizing the cluster of markers in maps.
1750
- */
1751
- markerClusterSettings: MarkerClusterSettingsModel;
1752
- /**
1753
- * Gets or sets the options for customizing the data labels in maps.
1754
- */
1755
- dataLabelSettings: DataLabelSettingsModel;
1756
- /**
1757
- * Gets or sets the options for customizing the bubbles in maps.
1758
- */
1759
- bubbleSettings: BubbleSettingsModel[];
1760
- /**
1761
- * Gets or sets the options for customizing the navigation lines in maps.
1762
- */
1763
- navigationLineSettings: NavigationLineSettingsModel[];
1764
- /**
1765
- * Gets or sets the properties of the polygon shapes that will be rendered on a map layer.
1766
- * The selection and highlight settings for polygon shapes can also be defined.
1767
- */
1768
- polygonSettings: PolygonSettingsModel;
1769
- /**
1770
- * Gets or sets the options for customizing the tooltip of the layers in maps.
1771
- */
1772
- tooltipSettings: TooltipSettingsModel;
1773
- /**
1774
- * Gets or sets the options for customizing the shapes when clicking on the shapes in maps.
1775
- */
1776
- selectionSettings: SelectionSettingsModel;
1777
- /**
1778
- * Gets or sets the options for customizing the shapes when the mouse hovers over maps.
1779
- */
1780
- highlightSettings: HighlightSettingsModel;
1781
- /**
1782
- * Gets or sets the options for customizing the toggle state of shapes when selecting the legend in maps.
1783
- */
1784
- toggleLegendSettings: ToggleLegendSettingsModel;
1785
- /**
1786
- * Gets or sets the settings for the shapes to be selected when the maps rendering initially.
1787
- * The initial selection of shapes will be performed only when the selection functionality of layer is enabled.
1788
- */
1789
- initialShapeSelection: InitialShapeSelectionSettingsModel[];
1790
- /** @private */
1791
- layerData: Object[];
1792
- /**
1793
- * @private
1794
- */
1795
- isBaseLayer: boolean;
1796
- /**
1797
- * @private
1798
- */
1799
- factor: number;
1800
- /**
1801
- * @private
1802
- */
1803
- layerBounds: GeoLocation;
1804
- /**
1805
- * @private
1806
- */
1807
- rectBounds: Object;
1808
- /**
1809
- * @private
1810
- */
1811
- translatePoint: Point;
1812
- }
1813
- /**
1814
- * Internal use for bing type layer rendering
1815
- */
1816
- export declare class Tile {
1817
- x: number;
1818
- y: number;
1819
- top: number;
1820
- left: number;
1821
- height: number;
1822
- width: number;
1823
- src: string;
1824
- constructor(x: number, y: number, height?: number, width?: number, top?: number, left?: number, src?: string);
1825
- }
1826
- /**
1827
- * Gets or sets the options to customize the area around the shapes in the map layer.
1828
- */
1829
- export declare class MapsAreaSettings extends ChildProperty<MapsAreaSettings> {
1830
- /**
1831
- * Gets or sets the background color for the map area.
1832
- *
1833
- * @default null
1834
- */
1835
- background: string;
1836
- /**
1837
- * Gets or sets the options for customizing the style properties of the border of maps area.
1838
- */
1839
- border: BorderModel;
1840
- }