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