@syncfusion/ej2-maps 20.4.49 → 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 -20
- 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 +993 -236
- package/dist/es6/ej2-maps.es2015.js.map +1 -1
- package/dist/es6/ej2-maps.es5.js +1008 -236
- 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 +9 -4
- 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 +42 -3
- 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 +144 -88
- package/src/maps/maps.js +217 -61
- 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 +76 -16
- package/src/maps/utils/helper.js +122 -37
- package/.eslintrc.json +0 -259
- package/tslint.json +0 -111
|
@@ -6,7 +6,7 @@ import { Size } from '../utils/helper';
|
|
|
6
6
|
import { LayerSettingsModel, MarkerSettingsModel, DataLabelSettingsModel, ShapeSettingsModel, MarkerType, LegendShape, Annotation, MarkerClusterSettingsModel } from '../index';
|
|
7
7
|
import { ToolLocationModel, TextStyleModel } from '@syncfusion/ej2-svg-base';
|
|
8
8
|
/**
|
|
9
|
-
* Specifies the event arguments for the maps
|
|
9
|
+
* Specifies the event arguments for the maps.
|
|
10
10
|
*
|
|
11
11
|
* @private
|
|
12
12
|
*/
|
|
@@ -21,25 +21,27 @@ export interface IMapsEventArgs {
|
|
|
21
21
|
*/
|
|
22
22
|
export interface IPrintEventArgs extends IMapsEventArgs {
|
|
23
23
|
/**
|
|
24
|
-
* Specifies the
|
|
24
|
+
* Specifies the HTML content that is printed. The HTML content returned is usually the id string of the maps.
|
|
25
25
|
*/
|
|
26
26
|
htmlContent: Element;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
* Specifies the event arguments for
|
|
29
|
+
* Specifies the event arguments for the loaded event in maps.
|
|
30
30
|
*/
|
|
31
31
|
export interface ILoadedEventArgs extends IMapsEventArgs {
|
|
32
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Defines the current maps instance.
|
|
33
34
|
*
|
|
34
35
|
|
|
35
36
|
*/
|
|
36
37
|
maps?: Maps;
|
|
37
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* Defines whether the maps is resized or not.
|
|
38
40
|
*/
|
|
39
41
|
isResized: boolean;
|
|
40
42
|
}
|
|
41
43
|
/**
|
|
42
|
-
* Specifies the event argument load event in maps.
|
|
44
|
+
* Specifies the event argument of the load event in maps.
|
|
43
45
|
*/
|
|
44
46
|
export interface ILoadEventArgs extends IMapsEventArgs {
|
|
45
47
|
/** Defines the current maps instance.
|
|
@@ -52,57 +54,59 @@ export interface ILoadEventArgs extends IMapsEventArgs {
|
|
|
52
54
|
* Specifies the event arguments for the data-label event in maps.
|
|
53
55
|
*/
|
|
54
56
|
export interface IDataLabelArgs extends IMapsEventArgs {
|
|
55
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* Defines the current maps instance.
|
|
56
59
|
*
|
|
57
60
|
|
|
58
61
|
*/
|
|
59
62
|
maps: Maps;
|
|
60
63
|
/**
|
|
61
|
-
* Defines the
|
|
64
|
+
* Defines the data label instance in maps.
|
|
62
65
|
*/
|
|
63
66
|
dataLabel: DataLabelSettingsModel;
|
|
64
67
|
}
|
|
65
68
|
/**
|
|
66
|
-
* Specifies the event arguments for mouse
|
|
69
|
+
* Specifies the event arguments for mouse event in maps.
|
|
67
70
|
*/
|
|
68
71
|
export interface IMouseEventArgs extends IMapsEventArgs {
|
|
69
|
-
/** Defines the current mouse event target id */
|
|
72
|
+
/** Defines the current mouse event target id. */
|
|
70
73
|
target: string;
|
|
71
|
-
/** Defines the current mouse x location. */
|
|
74
|
+
/** Defines the current mouse x location in pixels. */
|
|
72
75
|
x: number;
|
|
73
|
-
/** Defines the current mouse y location. */
|
|
76
|
+
/** Defines the current mouse y location in pixels. */
|
|
74
77
|
y: number;
|
|
75
|
-
/** Defines the current latitude value of maps location */
|
|
78
|
+
/** Defines the current latitude value of maps location. */
|
|
76
79
|
latitude?: number;
|
|
77
80
|
/** Defines the current longitude value of maps location */
|
|
78
81
|
longitude?: number;
|
|
79
|
-
/** Specifies whether the shape is selected or not in the
|
|
82
|
+
/** Specifies whether the shape is selected or not in the maps. */
|
|
80
83
|
isShapeSelected?: boolean;
|
|
81
84
|
}
|
|
82
85
|
/**
|
|
83
|
-
* Specifies the
|
|
86
|
+
* Specifies the location using geographical coordinates in maps.
|
|
84
87
|
*/
|
|
85
88
|
export interface GeoPosition {
|
|
86
|
-
/** Specifies the
|
|
89
|
+
/** Specifies the latitude value for the maps location. */
|
|
87
90
|
latitude?: number;
|
|
88
|
-
/** Specifies the
|
|
91
|
+
/** Specifies the longitude value for the maps location. */
|
|
89
92
|
longitude?: number;
|
|
90
93
|
}
|
|
91
94
|
/**
|
|
92
95
|
* Specifies the event arguments for tooltip render event in maps.
|
|
93
96
|
*/
|
|
94
97
|
export interface ITooltipRenderCompleteEventArgs extends IMapsEventArgs {
|
|
95
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Defines the current maps instance.
|
|
96
100
|
*
|
|
97
101
|
|
|
98
102
|
*/
|
|
99
103
|
maps?: Maps;
|
|
100
104
|
/**
|
|
101
|
-
*
|
|
105
|
+
* Defines the current tooltip element.
|
|
102
106
|
*/
|
|
103
107
|
element: Element;
|
|
104
108
|
/**
|
|
105
|
-
*
|
|
109
|
+
* Defines the options of the tooltip.
|
|
106
110
|
*/
|
|
107
111
|
options: Object;
|
|
108
112
|
}
|
|
@@ -110,11 +114,12 @@ export interface ITooltipRenderCompleteEventArgs extends IMapsEventArgs {
|
|
|
110
114
|
* Specifies the event arguments for the resize event in maps.
|
|
111
115
|
*/
|
|
112
116
|
export interface IResizeEventArgs extends IMapsEventArgs {
|
|
113
|
-
/** Defines the
|
|
117
|
+
/** Defines the size of the maps before the resize event. */
|
|
114
118
|
previousSize: Size;
|
|
115
|
-
/** Defines the
|
|
119
|
+
/** Defines the size of the maps after the resize event. */
|
|
116
120
|
currentSize: Size;
|
|
117
|
-
/**
|
|
121
|
+
/**
|
|
122
|
+
* Defines the current maps instance.
|
|
118
123
|
*
|
|
119
124
|
|
|
120
125
|
*/
|
|
@@ -140,29 +145,30 @@ export interface MapsTooltipOption {
|
|
|
140
145
|
* Specifies the event arguments for tooltip render event in maps.
|
|
141
146
|
*/
|
|
142
147
|
export interface ITooltipRenderEventArgs extends IMapsEventArgs {
|
|
143
|
-
/**
|
|
148
|
+
/**
|
|
149
|
+
* Defines the current maps instance.
|
|
144
150
|
*
|
|
145
151
|
|
|
146
152
|
*/
|
|
147
153
|
maps?: Maps;
|
|
148
154
|
/**
|
|
149
|
-
*
|
|
155
|
+
* Defines the content of the tooltip.
|
|
150
156
|
*/
|
|
151
157
|
content?: string | HTMLElement;
|
|
152
158
|
/**
|
|
153
|
-
*
|
|
159
|
+
* Defines the options of the tooltip.
|
|
154
160
|
*/
|
|
155
161
|
options?: Object;
|
|
156
162
|
/**
|
|
157
|
-
* Defines the style of text for the tooltip
|
|
163
|
+
* Defines the style of text for the tooltip.
|
|
158
164
|
*/
|
|
159
165
|
textStyle?: FontModel;
|
|
160
166
|
/**
|
|
161
|
-
* Defines the
|
|
167
|
+
* Defines the settings of the border for the tooltip.
|
|
162
168
|
*/
|
|
163
169
|
border?: BorderModel;
|
|
164
170
|
/**
|
|
165
|
-
* Defines the color
|
|
171
|
+
* Defines the color of the tooltip.
|
|
166
172
|
*/
|
|
167
173
|
fill?: string;
|
|
168
174
|
/**
|
|
@@ -174,7 +180,7 @@ export interface ITooltipRenderEventArgs extends IMapsEventArgs {
|
|
|
174
180
|
*/
|
|
175
181
|
element: Element;
|
|
176
182
|
/**
|
|
177
|
-
* Defines the original event arguments.
|
|
183
|
+
* Defines the original mouse event arguments.
|
|
178
184
|
*/
|
|
179
185
|
eventArgs?: PointerEvent;
|
|
180
186
|
}
|
|
@@ -182,7 +188,8 @@ export interface ITooltipRenderEventArgs extends IMapsEventArgs {
|
|
|
182
188
|
* Specifies the event arguments for item selection event in maps.
|
|
183
189
|
*/
|
|
184
190
|
export interface ISelectionEventArgs extends IMapsEventArgs {
|
|
185
|
-
/**
|
|
191
|
+
/**
|
|
192
|
+
* Defines the current maps instance.
|
|
186
193
|
*
|
|
187
194
|
|
|
188
195
|
*/
|
|
@@ -196,19 +203,19 @@ export interface ISelectionEventArgs extends IMapsEventArgs {
|
|
|
196
203
|
*/
|
|
197
204
|
opacity?: number;
|
|
198
205
|
/**
|
|
199
|
-
* Defines the
|
|
206
|
+
* Defines the settings of the border for the selected shape in maps.
|
|
200
207
|
*/
|
|
201
208
|
border?: BorderModel;
|
|
202
209
|
/**
|
|
203
|
-
* Defines current mouse event
|
|
210
|
+
* Defines target id of current mouse event.
|
|
204
211
|
*/
|
|
205
212
|
target?: string;
|
|
206
213
|
/**
|
|
207
|
-
* Defines the
|
|
214
|
+
* Defines the data from GeoJSON data for the current shape.
|
|
208
215
|
*/
|
|
209
216
|
shapeData?: Object;
|
|
210
217
|
/**
|
|
211
|
-
* Defines the data from the data source.
|
|
218
|
+
* Defines the data from the data source for the current shape or marker.
|
|
212
219
|
*/
|
|
213
220
|
data?: Object;
|
|
214
221
|
}
|
|
@@ -216,7 +223,8 @@ export interface ISelectionEventArgs extends IMapsEventArgs {
|
|
|
216
223
|
* Specifies the event arguments for shape selected event in maps.
|
|
217
224
|
*/
|
|
218
225
|
export interface IShapeSelectedEventArgs extends IMapsEventArgs {
|
|
219
|
-
/**
|
|
226
|
+
/**
|
|
227
|
+
* Defines the current maps instance.
|
|
220
228
|
*
|
|
221
229
|
|
|
222
230
|
*/
|
|
@@ -230,21 +238,21 @@ export interface IShapeSelectedEventArgs extends IMapsEventArgs {
|
|
|
230
238
|
*/
|
|
231
239
|
opacity?: number;
|
|
232
240
|
/**
|
|
233
|
-
* Defines the
|
|
241
|
+
* Defines the settings of the border for the selected shape in maps.
|
|
234
242
|
*/
|
|
235
243
|
border?: BorderModel;
|
|
236
244
|
/**
|
|
237
|
-
* Defines the
|
|
245
|
+
* Defines the data from the GeoJSON data for the currently selected shape.
|
|
238
246
|
*/
|
|
239
247
|
shapeData?: Object;
|
|
240
248
|
/**
|
|
241
|
-
* Defines the data source for the currently
|
|
249
|
+
* Defines the data from the data source for the currently selected shape.
|
|
242
250
|
*/
|
|
243
251
|
data?: Object;
|
|
244
|
-
/** Defines the id string of current mouse event
|
|
252
|
+
/** Defines the id string of the target of the current mouse event. */
|
|
245
253
|
target?: string;
|
|
246
254
|
/**
|
|
247
|
-
* Returns the
|
|
255
|
+
* Returns the details of the shapes which are in selected state during multiple selection.
|
|
248
256
|
*/
|
|
249
257
|
shapeDataCollection?: Object;
|
|
250
258
|
}
|
|
@@ -268,7 +276,7 @@ export interface ILayerRenderingEventArgs extends IMapsEventArgs {
|
|
|
268
276
|
*/
|
|
269
277
|
index?: number;
|
|
270
278
|
/**
|
|
271
|
-
* Defines the maps instance
|
|
279
|
+
* Defines the current maps instance.
|
|
272
280
|
*
|
|
273
281
|
|
|
274
282
|
*/
|
|
@@ -289,29 +297,29 @@ export interface ILayerRenderingEventArgs extends IMapsEventArgs {
|
|
|
289
297
|
*/
|
|
290
298
|
export interface IShapeRenderingEventArgs extends IMapsEventArgs {
|
|
291
299
|
/**
|
|
292
|
-
* Defines the index value of shape rendering in the
|
|
300
|
+
* Defines the index value of the shape rendering in the maps.
|
|
293
301
|
*/
|
|
294
302
|
index?: number;
|
|
295
303
|
/**
|
|
296
|
-
* Defines the maps instance
|
|
304
|
+
* Defines the current maps instance.
|
|
297
305
|
*
|
|
298
306
|
|
|
299
307
|
*/
|
|
300
308
|
maps?: Maps;
|
|
301
309
|
/**
|
|
302
|
-
* Defines the current shape settings
|
|
310
|
+
* Defines the current shape settings.
|
|
303
311
|
*/
|
|
304
312
|
shape?: ShapeSettingsModel;
|
|
305
313
|
/**
|
|
306
|
-
* Defines the color for the current shape
|
|
314
|
+
* Defines the color for the current shape.
|
|
307
315
|
*/
|
|
308
316
|
fill?: string;
|
|
309
317
|
/**
|
|
310
|
-
* Defines the
|
|
318
|
+
* Defines the settings of the border for the current shape.
|
|
311
319
|
*/
|
|
312
320
|
border?: BorderModel;
|
|
313
321
|
/**
|
|
314
|
-
* Defines the data
|
|
322
|
+
* Defines the data from the data source for the shape which is being currently rendered.
|
|
315
323
|
*/
|
|
316
324
|
data?: Object;
|
|
317
325
|
}
|
|
@@ -320,7 +328,7 @@ export interface IShapeRenderingEventArgs extends IMapsEventArgs {
|
|
|
320
328
|
*/
|
|
321
329
|
export interface IMarkerRenderingEventArgs extends IMapsEventArgs {
|
|
322
330
|
/**
|
|
323
|
-
* Defines the maps instance
|
|
331
|
+
* Defines the current maps instance.
|
|
324
332
|
*
|
|
325
333
|
|
|
326
334
|
*/
|
|
@@ -330,19 +338,19 @@ export interface IMarkerRenderingEventArgs extends IMapsEventArgs {
|
|
|
330
338
|
*/
|
|
331
339
|
marker?: MarkerSettingsModel;
|
|
332
340
|
/**
|
|
333
|
-
* Defines the color
|
|
341
|
+
* Defines the color of the marker which is currently rendered.
|
|
334
342
|
*/
|
|
335
343
|
fill?: string;
|
|
336
344
|
/**
|
|
337
|
-
* Defines the height of the marker
|
|
345
|
+
* Defines the height of the marker which is currently rendered.
|
|
338
346
|
*/
|
|
339
347
|
height?: number;
|
|
340
348
|
/**
|
|
341
|
-
* Defines the width of the marker.
|
|
349
|
+
* Defines the width of the marker which is currently rendered.
|
|
342
350
|
*/
|
|
343
351
|
width?: number;
|
|
344
352
|
/**
|
|
345
|
-
* Defines the shape of the marker.
|
|
353
|
+
* Defines the shape of the marker which is currently rendered.
|
|
346
354
|
*/
|
|
347
355
|
shape?: MarkerType;
|
|
348
356
|
/**
|
|
@@ -354,23 +362,23 @@ export interface IMarkerRenderingEventArgs extends IMapsEventArgs {
|
|
|
354
362
|
*/
|
|
355
363
|
template?: string;
|
|
356
364
|
/**
|
|
357
|
-
* Defines the
|
|
365
|
+
* Defines the settings of the border for the marker.
|
|
358
366
|
*/
|
|
359
367
|
border?: BorderModel;
|
|
360
368
|
/**
|
|
361
|
-
* Defines the marker data from the marker data source in maps.
|
|
369
|
+
* Defines the current marker data from the marker data source in maps.
|
|
362
370
|
*/
|
|
363
371
|
data?: Object;
|
|
364
372
|
/**
|
|
365
|
-
* Defines the
|
|
373
|
+
* Defines the field name from the marker data source to set the color from the marker data source.
|
|
366
374
|
*/
|
|
367
375
|
colorValuePath?: string;
|
|
368
376
|
/**
|
|
369
|
-
* Defines the
|
|
377
|
+
* Defines the field name from the marker data source to set the marker shape from the marker data source.
|
|
370
378
|
*/
|
|
371
379
|
shapeValuePath?: string;
|
|
372
380
|
/**
|
|
373
|
-
* Defines the
|
|
381
|
+
* Defines the field name from the marker data source to set the marker image from the marker data source.
|
|
374
382
|
*/
|
|
375
383
|
imageUrlValuePath?: string;
|
|
376
384
|
}
|
|
@@ -379,7 +387,7 @@ export interface IMarkerRenderingEventArgs extends IMapsEventArgs {
|
|
|
379
387
|
*/
|
|
380
388
|
export interface IMarkerClusterRenderingEventArgs extends IMapsEventArgs {
|
|
381
389
|
/**
|
|
382
|
-
* Defines the maps instance
|
|
390
|
+
* Defines the current maps instance.
|
|
383
391
|
*
|
|
384
392
|
|
|
385
393
|
*/
|
|
@@ -389,19 +397,19 @@ export interface IMarkerClusterRenderingEventArgs extends IMapsEventArgs {
|
|
|
389
397
|
*/
|
|
390
398
|
cluster?: MarkerClusterSettingsModel;
|
|
391
399
|
/**
|
|
392
|
-
* Defines the color
|
|
400
|
+
* Defines the color of the marker cluster.
|
|
393
401
|
*/
|
|
394
402
|
fill?: string;
|
|
395
403
|
/**
|
|
396
|
-
* Defines the height
|
|
404
|
+
* Defines the height of the marker cluster.
|
|
397
405
|
*/
|
|
398
406
|
height?: number;
|
|
399
407
|
/**
|
|
400
|
-
* Defines the width
|
|
408
|
+
* Defines the width of the marker cluster.
|
|
401
409
|
*/
|
|
402
410
|
width?: number;
|
|
403
411
|
/**
|
|
404
|
-
* Defines the shape
|
|
412
|
+
* Defines the shape of the marker cluster.
|
|
405
413
|
*/
|
|
406
414
|
shape?: MarkerType;
|
|
407
415
|
/**
|
|
@@ -409,11 +417,11 @@ export interface IMarkerClusterRenderingEventArgs extends IMapsEventArgs {
|
|
|
409
417
|
*/
|
|
410
418
|
imageUrl?: string;
|
|
411
419
|
/**
|
|
412
|
-
* Defines the
|
|
420
|
+
* Defines the settings of the border of the marker cluster.
|
|
413
421
|
*/
|
|
414
422
|
border?: BorderModel;
|
|
415
423
|
/**
|
|
416
|
-
* Defines the data for the marker cluster in maps.
|
|
424
|
+
* Defines the data from marker data source for the marker cluster in maps.
|
|
417
425
|
*/
|
|
418
426
|
data?: Object;
|
|
419
427
|
}
|
|
@@ -422,7 +430,7 @@ export interface IMarkerClusterRenderingEventArgs extends IMapsEventArgs {
|
|
|
422
430
|
*/
|
|
423
431
|
export interface IMarkerClickEventArgs extends IMouseEventArgs {
|
|
424
432
|
/**
|
|
425
|
-
* Defines the maps instance
|
|
433
|
+
* Defines the current maps instance.
|
|
426
434
|
*
|
|
427
435
|
|
|
428
436
|
*/
|
|
@@ -436,22 +444,43 @@ export interface IMarkerClickEventArgs extends IMouseEventArgs {
|
|
|
436
444
|
*/
|
|
437
445
|
value: string;
|
|
438
446
|
/**
|
|
439
|
-
* Defines the marker data for the marker that is clicked.
|
|
447
|
+
* Defines the data from the marker data source for the marker that is clicked.
|
|
440
448
|
*/
|
|
441
449
|
data?: Object;
|
|
442
450
|
}
|
|
451
|
+
/**
|
|
452
|
+
* Specifies the event arguments for marker click event in maps.
|
|
453
|
+
*/
|
|
454
|
+
export interface IMarkerDragEventArgs {
|
|
455
|
+
/** Defines the name of the event. */
|
|
456
|
+
name: string;
|
|
457
|
+
/** Defines the current x position of the mouse pointer when dragging is performed. */
|
|
458
|
+
x: number;
|
|
459
|
+
/** Defines the current y position of the mouse pointer when dragging is performed. */
|
|
460
|
+
y: number;
|
|
461
|
+
/** Defines the current latitude number of the marker with which the dragging operation is performed. */
|
|
462
|
+
latitude: number;
|
|
463
|
+
/** Defines the current longitude number of the marker with which the dragging operation is performed. */
|
|
464
|
+
longitude: number;
|
|
465
|
+
/** Defines the index of the layer in which the current marker is associated. */
|
|
466
|
+
layerIndex: number;
|
|
467
|
+
/** Defines the index of the marker settings in which the current marker is associated. */
|
|
468
|
+
markerIndex: number;
|
|
469
|
+
/** Defines the index of the current marker data from the entire data source. */
|
|
470
|
+
dataIndex: number;
|
|
471
|
+
}
|
|
443
472
|
/**
|
|
444
473
|
* Specifies the event arguments for marker move event in maps.
|
|
445
474
|
*/
|
|
446
475
|
export interface IMarkerMoveEventArgs extends IMouseEventArgs {
|
|
447
476
|
/**
|
|
448
|
-
* Defines the maps instance
|
|
477
|
+
* Defines the current maps instance.
|
|
449
478
|
*
|
|
450
479
|
|
|
451
480
|
*/
|
|
452
481
|
maps?: Maps;
|
|
453
482
|
/**
|
|
454
|
-
* Defines the data
|
|
483
|
+
* Defines the data from the marker data source for the marker over which the mouse is moved.
|
|
455
484
|
*/
|
|
456
485
|
data?: Object;
|
|
457
486
|
}
|
|
@@ -460,11 +489,11 @@ export interface IMarkerMoveEventArgs extends IMouseEventArgs {
|
|
|
460
489
|
*/
|
|
461
490
|
export interface IMarkerClusterClickEventArgs extends IMouseEventArgs {
|
|
462
491
|
/**
|
|
463
|
-
* Defines the currently clicked marker
|
|
492
|
+
* Defines the data from marker data source for the currently clicked marker.
|
|
464
493
|
*/
|
|
465
494
|
data?: Object;
|
|
466
495
|
/**
|
|
467
|
-
* Defines the maps instance
|
|
496
|
+
* Defines the current maps instance.
|
|
468
497
|
*
|
|
469
498
|
|
|
470
499
|
*/
|
|
@@ -479,13 +508,13 @@ export interface IMarkerClusterClickEventArgs extends IMouseEventArgs {
|
|
|
479
508
|
*/
|
|
480
509
|
export interface IMarkerClusterMoveEventArgs extends IMouseEventArgs {
|
|
481
510
|
/**
|
|
482
|
-
* Defines the maps instance
|
|
511
|
+
* Defines the current maps instance.
|
|
483
512
|
*
|
|
484
513
|
|
|
485
514
|
*/
|
|
486
515
|
maps?: Maps;
|
|
487
516
|
/**
|
|
488
|
-
* Defines the data
|
|
517
|
+
* Defines the data from marker data source for the currently clicked marker.
|
|
489
518
|
*/
|
|
490
519
|
data?: Object;
|
|
491
520
|
}
|
|
@@ -494,29 +523,29 @@ export interface IMarkerClusterMoveEventArgs extends IMouseEventArgs {
|
|
|
494
523
|
*/
|
|
495
524
|
export interface ILabelRenderingEventArgs extends IMapsEventArgs {
|
|
496
525
|
/**
|
|
497
|
-
* Defines the maps instance
|
|
526
|
+
* Defines the current maps instance.
|
|
498
527
|
*
|
|
499
528
|
|
|
500
529
|
*/
|
|
501
530
|
maps?: Maps;
|
|
502
531
|
/**
|
|
503
|
-
* Defines the text
|
|
532
|
+
* Defines the text of the data-label which is being currently rendered.
|
|
504
533
|
*/
|
|
505
534
|
text: string;
|
|
506
535
|
/**
|
|
507
|
-
* Defines the right and left position of text for the data-label
|
|
536
|
+
* Defines the right and left position of text for the data-label.
|
|
508
537
|
*/
|
|
509
538
|
offsetX: number;
|
|
510
539
|
/**
|
|
511
|
-
* Defines the top and bottom position of text for the data-label
|
|
540
|
+
* Defines the top and bottom position of text for the data-label.
|
|
512
541
|
*/
|
|
513
542
|
offsetY: number;
|
|
514
543
|
/**
|
|
515
|
-
* Defines the
|
|
544
|
+
* Defines the settings of the border of the data-label.
|
|
516
545
|
*/
|
|
517
546
|
border: BorderModel;
|
|
518
547
|
/**
|
|
519
|
-
* Defines the color
|
|
548
|
+
* Defines the color of the data-label.
|
|
520
549
|
*/
|
|
521
550
|
fill: string;
|
|
522
551
|
/**
|
|
@@ -524,7 +553,7 @@ export interface ILabelRenderingEventArgs extends IMapsEventArgs {
|
|
|
524
553
|
*/
|
|
525
554
|
template: string;
|
|
526
555
|
/**
|
|
527
|
-
* Defines the instance of the data-label
|
|
556
|
+
* Defines the instance of the data-label.
|
|
528
557
|
*/
|
|
529
558
|
datalabel?: DataLabelSettingsModel;
|
|
530
559
|
}
|
|
@@ -533,33 +562,33 @@ export interface ILabelRenderingEventArgs extends IMapsEventArgs {
|
|
|
533
562
|
*/
|
|
534
563
|
export interface IBubbleRenderingEventArgs extends IMapsEventArgs {
|
|
535
564
|
/**
|
|
536
|
-
* Defines the maps instance
|
|
565
|
+
* Defines the current maps instance.
|
|
537
566
|
*
|
|
538
567
|
|
|
539
568
|
*/
|
|
540
569
|
maps?: Maps;
|
|
541
570
|
/**
|
|
542
|
-
* Defines the color
|
|
571
|
+
* Defines the color of the bubble in event argument.
|
|
543
572
|
*/
|
|
544
573
|
fill?: string;
|
|
545
574
|
/**
|
|
546
|
-
* Defines the
|
|
575
|
+
* Defines the settings of the border of the bubble in event argument.
|
|
547
576
|
*/
|
|
548
577
|
border?: BorderModel;
|
|
549
578
|
/**
|
|
550
|
-
* Defines the center x position
|
|
579
|
+
* Defines the center x position of the current bubble.
|
|
551
580
|
*/
|
|
552
581
|
cx?: number;
|
|
553
582
|
/**
|
|
554
|
-
* Defines the center Y position
|
|
583
|
+
* Defines the center Y position of the current bubble.
|
|
555
584
|
*/
|
|
556
585
|
cy?: number;
|
|
557
586
|
/**
|
|
558
|
-
* Defines the radius
|
|
587
|
+
* Defines the radius of the current bubble.
|
|
559
588
|
*/
|
|
560
589
|
radius?: number;
|
|
561
590
|
/**
|
|
562
|
-
* Defines the data
|
|
591
|
+
* Defines the data of the current bubble from data source.
|
|
563
592
|
*/
|
|
564
593
|
data?: Object;
|
|
565
594
|
}
|
|
@@ -574,7 +603,7 @@ export interface IBubbleClickEventArgs extends IMouseEventArgs {
|
|
|
574
603
|
*/
|
|
575
604
|
maps?: Maps;
|
|
576
605
|
/**
|
|
577
|
-
* Defines the current data
|
|
606
|
+
* Defines the current data from the data source of the bubble in event argument.
|
|
578
607
|
*/
|
|
579
608
|
data?: Object;
|
|
580
609
|
}
|
|
@@ -583,13 +612,13 @@ export interface IBubbleClickEventArgs extends IMouseEventArgs {
|
|
|
583
612
|
*/
|
|
584
613
|
export interface IBubbleMoveEventArgs extends IMouseEventArgs {
|
|
585
614
|
/**
|
|
586
|
-
* Defines the maps instance
|
|
615
|
+
* Defines the current maps instance.
|
|
587
616
|
*
|
|
588
617
|
|
|
589
618
|
*/
|
|
590
619
|
maps?: Maps;
|
|
591
620
|
/**
|
|
592
|
-
* Defines the data for the current bubble on which the mouse has hovered
|
|
621
|
+
* Defines the data from the data source for the current bubble on which the mouse has hovered.
|
|
593
622
|
*/
|
|
594
623
|
data?: Object;
|
|
595
624
|
}
|
|
@@ -598,7 +627,7 @@ export interface IBubbleMoveEventArgs extends IMouseEventArgs {
|
|
|
598
627
|
*/
|
|
599
628
|
export interface IAnimationCompleteEventArgs extends IMapsEventArgs {
|
|
600
629
|
/**
|
|
601
|
-
* Defines the maps instance
|
|
630
|
+
* Defines the current maps instance.
|
|
602
631
|
*
|
|
603
632
|
|
|
604
633
|
*/
|
|
@@ -613,7 +642,7 @@ export interface IAnimationCompleteEventArgs extends IMapsEventArgs {
|
|
|
613
642
|
*/
|
|
614
643
|
export interface ILegendRenderingEventArgs extends IMapsEventArgs {
|
|
615
644
|
/**
|
|
616
|
-
* Defines the maps instance
|
|
645
|
+
* Defines the current maps instance.
|
|
617
646
|
*
|
|
618
647
|
|
|
619
648
|
*/
|
|
@@ -623,15 +652,15 @@ export interface ILegendRenderingEventArgs extends IMapsEventArgs {
|
|
|
623
652
|
*/
|
|
624
653
|
fill?: string;
|
|
625
654
|
/**
|
|
626
|
-
* Defines the options for customizing the
|
|
655
|
+
* Defines the options for customizing the border of the shape in legend.
|
|
627
656
|
*/
|
|
628
657
|
shapeBorder?: BorderModel;
|
|
629
658
|
/**
|
|
630
|
-
* Defines the shape of the legend in maps.
|
|
659
|
+
* Defines the shape of the current legend item in maps.
|
|
631
660
|
*/
|
|
632
661
|
shape?: LegendShape;
|
|
633
662
|
/**
|
|
634
|
-
* Defines the text
|
|
663
|
+
* Defines the text of the current legend item.
|
|
635
664
|
*/
|
|
636
665
|
text?: string | string[];
|
|
637
666
|
}
|
|
@@ -640,13 +669,13 @@ export interface ILegendRenderingEventArgs extends IMapsEventArgs {
|
|
|
640
669
|
*/
|
|
641
670
|
export interface IAnnotationRenderingEventArgs extends IMapsEventArgs {
|
|
642
671
|
/**
|
|
643
|
-
* Defines the maps instance
|
|
672
|
+
* Defines the current maps instance.
|
|
644
673
|
*
|
|
645
674
|
|
|
646
675
|
*/
|
|
647
676
|
maps?: Maps;
|
|
648
677
|
/**
|
|
649
|
-
* Defines the content
|
|
678
|
+
* Defines the content of the annotation which is being rendered.
|
|
650
679
|
*/
|
|
651
680
|
content?: string;
|
|
652
681
|
/**
|
|
@@ -659,13 +688,13 @@ export interface IAnnotationRenderingEventArgs extends IMapsEventArgs {
|
|
|
659
688
|
*/
|
|
660
689
|
export interface IMapPanEventArgs extends IMapsEventArgs {
|
|
661
690
|
/**
|
|
662
|
-
* Defines the maps instance
|
|
691
|
+
* Defines the current maps instance.
|
|
663
692
|
*
|
|
664
693
|
|
|
665
694
|
*/
|
|
666
695
|
maps?: Maps;
|
|
667
696
|
/**
|
|
668
|
-
* Defines the
|
|
697
|
+
* Defines the translate point of the online map providers.
|
|
669
698
|
*/
|
|
670
699
|
tileTranslatePoint?: Object;
|
|
671
700
|
/**
|
|
@@ -673,19 +702,19 @@ export interface IMapPanEventArgs extends IMapsEventArgs {
|
|
|
673
702
|
*/
|
|
674
703
|
translatePoint?: Object;
|
|
675
704
|
/**
|
|
676
|
-
* Defines the zoom level
|
|
705
|
+
* Defines the zoom level of the online map providers.
|
|
677
706
|
*/
|
|
678
707
|
tileZoomLevel?: number;
|
|
679
708
|
/**
|
|
680
|
-
* Defines the scale value
|
|
709
|
+
* Defines the scale value of the geometry maps.
|
|
681
710
|
*/
|
|
682
711
|
scale?: number;
|
|
683
712
|
/**
|
|
684
|
-
* Defines the latitude value of maps on pan event.
|
|
713
|
+
* Defines the latitude value of the maps on pan event.
|
|
685
714
|
*/
|
|
686
715
|
latitude: number;
|
|
687
716
|
/**
|
|
688
|
-
* Defines the longitude value of maps on pan event.
|
|
717
|
+
* Defines the longitude value of the maps on pan event.
|
|
689
718
|
*/
|
|
690
719
|
longitude: number;
|
|
691
720
|
}
|
|
@@ -694,7 +723,7 @@ export interface IMapPanEventArgs extends IMapsEventArgs {
|
|
|
694
723
|
*/
|
|
695
724
|
export interface IMapZoomEventArgs extends IMapsEventArgs {
|
|
696
725
|
/**
|
|
697
|
-
* Defines the maps instance
|
|
726
|
+
* Defines the current maps instance.
|
|
698
727
|
*
|
|
699
728
|
|
|
700
729
|
*/
|
|
@@ -704,11 +733,11 @@ export interface IMapZoomEventArgs extends IMapsEventArgs {
|
|
|
704
733
|
*/
|
|
705
734
|
type: string;
|
|
706
735
|
/**
|
|
707
|
-
* Defines the
|
|
736
|
+
* Defines the translate point of the online map providers.
|
|
708
737
|
*/
|
|
709
738
|
tileTranslatePoint?: Object;
|
|
710
739
|
/**
|
|
711
|
-
* Defines the translate point of geometry map.
|
|
740
|
+
* Defines the translate point of the geometry map.
|
|
712
741
|
*/
|
|
713
742
|
translatePoint?: Object;
|
|
714
743
|
/**
|
|
@@ -716,13 +745,13 @@ export interface IMapZoomEventArgs extends IMapsEventArgs {
|
|
|
716
745
|
*/
|
|
717
746
|
tileZoomLevel?: Object;
|
|
718
747
|
/**
|
|
719
|
-
* Defines the scale value
|
|
748
|
+
* Defines the scale value of the geometry maps.
|
|
720
749
|
*/
|
|
721
750
|
scale?: Object;
|
|
722
751
|
}
|
|
723
|
-
/** @private */
|
|
724
752
|
/**
|
|
725
753
|
* Specifies the theme style for maps.
|
|
754
|
+
* @private
|
|
726
755
|
*/
|
|
727
756
|
export interface IThemeStyle {
|
|
728
757
|
/** Specifies the background color for the maps based on theme style. */
|