@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
package/src/maps/model/base.js
CHANGED
|
@@ -25,7 +25,7 @@ import { Property, ChildProperty, Complex, Collection } from '@syncfusion/ej2-ba
|
|
|
25
25
|
import { Theme } from './theme';
|
|
26
26
|
import { Point } from '../utils/helper';
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Gets or sets the options for customizing the annotation element in maps.
|
|
29
29
|
*/
|
|
30
30
|
var Annotation = /** @class */ (function (_super) {
|
|
31
31
|
__extends(Annotation, _super);
|
|
@@ -53,6 +53,9 @@ var Annotation = /** @class */ (function (_super) {
|
|
|
53
53
|
return Annotation;
|
|
54
54
|
}(ChildProperty));
|
|
55
55
|
export { Annotation };
|
|
56
|
+
/**
|
|
57
|
+
* Gets or sets the options to customize the arrow in the navigation line.
|
|
58
|
+
*/
|
|
56
59
|
var Arrow = /** @class */ (function (_super) {
|
|
57
60
|
__extends(Arrow, _super);
|
|
58
61
|
function Arrow() {
|
|
@@ -77,7 +80,7 @@ var Arrow = /** @class */ (function (_super) {
|
|
|
77
80
|
}(ChildProperty));
|
|
78
81
|
export { Arrow };
|
|
79
82
|
/**
|
|
80
|
-
*
|
|
83
|
+
* Gets or sets the options to customize the style of the text in data label, legend and other texts in maps.
|
|
81
84
|
*/
|
|
82
85
|
var Font = /** @class */ (function (_super) {
|
|
83
86
|
__extends(Font, _super);
|
|
@@ -106,7 +109,133 @@ var Font = /** @class */ (function (_super) {
|
|
|
106
109
|
}(ChildProperty));
|
|
107
110
|
export { Font };
|
|
108
111
|
/**
|
|
109
|
-
*
|
|
112
|
+
* Specifies the options to customize the buttons in the zoom toolbar.
|
|
113
|
+
*/
|
|
114
|
+
var ZoomToolbarButtonSettings = /** @class */ (function (_super) {
|
|
115
|
+
__extends(ZoomToolbarButtonSettings, _super);
|
|
116
|
+
function ZoomToolbarButtonSettings() {
|
|
117
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
118
|
+
}
|
|
119
|
+
__decorate([
|
|
120
|
+
Property('transparent')
|
|
121
|
+
], ZoomToolbarButtonSettings.prototype, "fill", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
Property(null)
|
|
124
|
+
], ZoomToolbarButtonSettings.prototype, "color", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
Property(1)
|
|
127
|
+
], ZoomToolbarButtonSettings.prototype, "borderOpacity", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
Property(1)
|
|
130
|
+
], ZoomToolbarButtonSettings.prototype, "borderWidth", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
Property(null)
|
|
133
|
+
], ZoomToolbarButtonSettings.prototype, "borderColor", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
Property(30)
|
|
136
|
+
], ZoomToolbarButtonSettings.prototype, "radius", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
Property(null)
|
|
139
|
+
], ZoomToolbarButtonSettings.prototype, "selectionColor", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
Property(null)
|
|
142
|
+
], ZoomToolbarButtonSettings.prototype, "highlightColor", void 0);
|
|
143
|
+
__decorate([
|
|
144
|
+
Property(5)
|
|
145
|
+
], ZoomToolbarButtonSettings.prototype, "padding", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
Property(1)
|
|
148
|
+
], ZoomToolbarButtonSettings.prototype, "opacity", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
Property(['ZoomIn', 'ZoomOut', 'Reset'])
|
|
151
|
+
], ZoomToolbarButtonSettings.prototype, "toolbarItems", void 0);
|
|
152
|
+
return ZoomToolbarButtonSettings;
|
|
153
|
+
}(ChildProperty));
|
|
154
|
+
export { ZoomToolbarButtonSettings };
|
|
155
|
+
/**
|
|
156
|
+
* Specifies the options to customize the tooltip of the zoom toolbar.
|
|
157
|
+
*/
|
|
158
|
+
var ZoomToolbarTooltipSettings = /** @class */ (function (_super) {
|
|
159
|
+
__extends(ZoomToolbarTooltipSettings, _super);
|
|
160
|
+
function ZoomToolbarTooltipSettings() {
|
|
161
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
162
|
+
}
|
|
163
|
+
__decorate([
|
|
164
|
+
Property(true)
|
|
165
|
+
], ZoomToolbarTooltipSettings.prototype, "visible", void 0);
|
|
166
|
+
__decorate([
|
|
167
|
+
Property('white')
|
|
168
|
+
], ZoomToolbarTooltipSettings.prototype, "fill", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
Property(1)
|
|
171
|
+
], ZoomToolbarTooltipSettings.prototype, "borderOpacity", void 0);
|
|
172
|
+
__decorate([
|
|
173
|
+
Property(1)
|
|
174
|
+
], ZoomToolbarTooltipSettings.prototype, "borderWidth", void 0);
|
|
175
|
+
__decorate([
|
|
176
|
+
Property('#707070')
|
|
177
|
+
], ZoomToolbarTooltipSettings.prototype, "borderColor", void 0);
|
|
178
|
+
__decorate([
|
|
179
|
+
Property('black')
|
|
180
|
+
], ZoomToolbarTooltipSettings.prototype, "fontColor", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
Property('')
|
|
183
|
+
], ZoomToolbarTooltipSettings.prototype, "fontFamily", void 0);
|
|
184
|
+
__decorate([
|
|
185
|
+
Property('')
|
|
186
|
+
], ZoomToolbarTooltipSettings.prototype, "fontStyle", void 0);
|
|
187
|
+
__decorate([
|
|
188
|
+
Property('')
|
|
189
|
+
], ZoomToolbarTooltipSettings.prototype, "fontWeight", void 0);
|
|
190
|
+
__decorate([
|
|
191
|
+
Property('')
|
|
192
|
+
], ZoomToolbarTooltipSettings.prototype, "fontSize", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
Property(1)
|
|
195
|
+
], ZoomToolbarTooltipSettings.prototype, "fontOpacity", void 0);
|
|
196
|
+
return ZoomToolbarTooltipSettings;
|
|
197
|
+
}(ChildProperty));
|
|
198
|
+
export { ZoomToolbarTooltipSettings };
|
|
199
|
+
/**
|
|
200
|
+
* Sets and gets the options to customize the border of the zoom toolbar.
|
|
201
|
+
*/
|
|
202
|
+
var ZoomToolbarSettings = /** @class */ (function (_super) {
|
|
203
|
+
__extends(ZoomToolbarSettings, _super);
|
|
204
|
+
function ZoomToolbarSettings() {
|
|
205
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
206
|
+
}
|
|
207
|
+
__decorate([
|
|
208
|
+
Property('transparent')
|
|
209
|
+
], ZoomToolbarSettings.prototype, "backgroundColor", void 0);
|
|
210
|
+
__decorate([
|
|
211
|
+
Property(1)
|
|
212
|
+
], ZoomToolbarSettings.prototype, "borderOpacity", void 0);
|
|
213
|
+
__decorate([
|
|
214
|
+
Property(1)
|
|
215
|
+
], ZoomToolbarSettings.prototype, "borderWidth", void 0);
|
|
216
|
+
__decorate([
|
|
217
|
+
Property('transparent')
|
|
218
|
+
], ZoomToolbarSettings.prototype, "borderColor", void 0);
|
|
219
|
+
__decorate([
|
|
220
|
+
Property('Far')
|
|
221
|
+
], ZoomToolbarSettings.prototype, "horizontalAlignment", void 0);
|
|
222
|
+
__decorate([
|
|
223
|
+
Property('Near')
|
|
224
|
+
], ZoomToolbarSettings.prototype, "verticalAlignment", void 0);
|
|
225
|
+
__decorate([
|
|
226
|
+
Property('Horizontal')
|
|
227
|
+
], ZoomToolbarSettings.prototype, "orientation", void 0);
|
|
228
|
+
__decorate([
|
|
229
|
+
Complex({}, ZoomToolbarButtonSettings)
|
|
230
|
+
], ZoomToolbarSettings.prototype, "buttonSettings", void 0);
|
|
231
|
+
__decorate([
|
|
232
|
+
Complex({}, ZoomToolbarTooltipSettings)
|
|
233
|
+
], ZoomToolbarSettings.prototype, "tooltipSettings", void 0);
|
|
234
|
+
return ZoomToolbarSettings;
|
|
235
|
+
}(ChildProperty));
|
|
236
|
+
export { ZoomToolbarSettings };
|
|
237
|
+
/**
|
|
238
|
+
* Gets or sets the options to customize the border of the maps.
|
|
110
239
|
*/
|
|
111
240
|
var Border = /** @class */ (function (_super) {
|
|
112
241
|
__extends(Border, _super);
|
|
@@ -126,7 +255,7 @@ var Border = /** @class */ (function (_super) {
|
|
|
126
255
|
}(ChildProperty));
|
|
127
256
|
export { Border };
|
|
128
257
|
/**
|
|
129
|
-
*
|
|
258
|
+
* Gets or sets the values to change the center position of the maps.
|
|
130
259
|
*/
|
|
131
260
|
var CenterPosition = /** @class */ (function (_super) {
|
|
132
261
|
__extends(CenterPosition, _super);
|
|
@@ -143,7 +272,7 @@ var CenterPosition = /** @class */ (function (_super) {
|
|
|
143
272
|
}(ChildProperty));
|
|
144
273
|
export { CenterPosition };
|
|
145
274
|
/**
|
|
146
|
-
*
|
|
275
|
+
* Gets or sets the options to customize the tooltip of layers, markers, and bubble in maps.
|
|
147
276
|
*/
|
|
148
277
|
var TooltipSettings = /** @class */ (function (_super) {
|
|
149
278
|
__extends(TooltipSettings, _super);
|
|
@@ -175,7 +304,7 @@ var TooltipSettings = /** @class */ (function (_super) {
|
|
|
175
304
|
}(ChildProperty));
|
|
176
305
|
export { TooltipSettings };
|
|
177
306
|
/**
|
|
178
|
-
*
|
|
307
|
+
* Gets or sets the options to customize the margin of the maps.
|
|
179
308
|
*/
|
|
180
309
|
var Margin = /** @class */ (function (_super) {
|
|
181
310
|
__extends(Margin, _super);
|
|
@@ -197,8 +326,8 @@ var Margin = /** @class */ (function (_super) {
|
|
|
197
326
|
return Margin;
|
|
198
327
|
}(ChildProperty));
|
|
199
328
|
export { Margin };
|
|
200
|
-
|
|
201
|
-
*
|
|
329
|
+
/**
|
|
330
|
+
* Gets or sets the options to customize the lines that connect the markers in marker cluster of the maps.
|
|
202
331
|
*/
|
|
203
332
|
var ConnectorLineSettings = /** @class */ (function (_super) {
|
|
204
333
|
__extends(ConnectorLineSettings, _super);
|
|
@@ -218,7 +347,7 @@ var ConnectorLineSettings = /** @class */ (function (_super) {
|
|
|
218
347
|
}(ChildProperty));
|
|
219
348
|
export { ConnectorLineSettings };
|
|
220
349
|
/**
|
|
221
|
-
*
|
|
350
|
+
* Gets or sets the options to customize the cluster of markers in maps.
|
|
222
351
|
*/
|
|
223
352
|
var MarkerClusterSettings = /** @class */ (function (_super) {
|
|
224
353
|
__extends(MarkerClusterSettings, _super);
|
|
@@ -268,7 +397,7 @@ var MarkerClusterSettings = /** @class */ (function (_super) {
|
|
|
268
397
|
}(ChildProperty));
|
|
269
398
|
export { MarkerClusterSettings };
|
|
270
399
|
/**
|
|
271
|
-
*
|
|
400
|
+
* Gets or sets the data in the marker cluster.
|
|
272
401
|
*/
|
|
273
402
|
var MarkerClusterData = /** @class */ (function (_super) {
|
|
274
403
|
__extends(MarkerClusterData, _super);
|
|
@@ -279,7 +408,7 @@ var MarkerClusterData = /** @class */ (function (_super) {
|
|
|
279
408
|
}(ChildProperty));
|
|
280
409
|
export { MarkerClusterData };
|
|
281
410
|
/**
|
|
282
|
-
*
|
|
411
|
+
* Gets or sets the options to customize the color-mapping in maps.
|
|
283
412
|
*/
|
|
284
413
|
var ColorMappingSettings = /** @class */ (function (_super) {
|
|
285
414
|
__extends(ColorMappingSettings, _super);
|
|
@@ -314,7 +443,8 @@ var ColorMappingSettings = /** @class */ (function (_super) {
|
|
|
314
443
|
}(ChildProperty));
|
|
315
444
|
export { ColorMappingSettings };
|
|
316
445
|
/**
|
|
317
|
-
*
|
|
446
|
+
* Gets or sets the options to select the marker shape when the maps is loaded initially.
|
|
447
|
+
* The initial selection of the markers will work only when the selection settings of marker is enabled.
|
|
318
448
|
*/
|
|
319
449
|
var InitialMarkerSelectionSettings = /** @class */ (function (_super) {
|
|
320
450
|
__extends(InitialMarkerSelectionSettings, _super);
|
|
@@ -331,7 +461,8 @@ var InitialMarkerSelectionSettings = /** @class */ (function (_super) {
|
|
|
331
461
|
}(ChildProperty));
|
|
332
462
|
export { InitialMarkerSelectionSettings };
|
|
333
463
|
/**
|
|
334
|
-
*
|
|
464
|
+
* Gets or sets the options to select the shapes when the maps is loaded initially.
|
|
465
|
+
* The initial selection of the shapes will work only when the selection settings of layer is enabled.
|
|
335
466
|
*/
|
|
336
467
|
var InitialShapeSelectionSettings = /** @class */ (function (_super) {
|
|
337
468
|
__extends(InitialShapeSelectionSettings, _super);
|
|
@@ -348,7 +479,7 @@ var InitialShapeSelectionSettings = /** @class */ (function (_super) {
|
|
|
348
479
|
}(ChildProperty));
|
|
349
480
|
export { InitialShapeSelectionSettings };
|
|
350
481
|
/**
|
|
351
|
-
*
|
|
482
|
+
* Gets or sets the options to customize the maps on selecting the shapes.
|
|
352
483
|
*/
|
|
353
484
|
var SelectionSettings = /** @class */ (function (_super) {
|
|
354
485
|
__extends(SelectionSettings, _super);
|
|
@@ -374,7 +505,7 @@ var SelectionSettings = /** @class */ (function (_super) {
|
|
|
374
505
|
}(ChildProperty));
|
|
375
506
|
export { SelectionSettings };
|
|
376
507
|
/**
|
|
377
|
-
*
|
|
508
|
+
* Gets or sets the options to customize the shapes on which the mouse has hovered in maps.
|
|
378
509
|
*/
|
|
379
510
|
var HighlightSettings = /** @class */ (function (_super) {
|
|
380
511
|
__extends(HighlightSettings, _super);
|
|
@@ -397,7 +528,7 @@ var HighlightSettings = /** @class */ (function (_super) {
|
|
|
397
528
|
}(ChildProperty));
|
|
398
529
|
export { HighlightSettings };
|
|
399
530
|
/**
|
|
400
|
-
*
|
|
531
|
+
* Gets or sets the options to customize the navigation lines in maps which is used to connect different locations.
|
|
401
532
|
*/
|
|
402
533
|
var NavigationLineSettings = /** @class */ (function (_super) {
|
|
403
534
|
__extends(NavigationLineSettings, _super);
|
|
@@ -438,7 +569,7 @@ var NavigationLineSettings = /** @class */ (function (_super) {
|
|
|
438
569
|
}(ChildProperty));
|
|
439
570
|
export { NavigationLineSettings };
|
|
440
571
|
/**
|
|
441
|
-
*
|
|
572
|
+
* Gets or sets the options to customize the bubble elements in the maps.
|
|
442
573
|
*/
|
|
443
574
|
var BubbleSettings = /** @class */ (function (_super) {
|
|
444
575
|
__extends(BubbleSettings, _super);
|
|
@@ -500,7 +631,7 @@ var BubbleSettings = /** @class */ (function (_super) {
|
|
|
500
631
|
}(ChildProperty));
|
|
501
632
|
export { BubbleSettings };
|
|
502
633
|
/**
|
|
503
|
-
*
|
|
634
|
+
* Gets or sets the options to customize the title of the maps.
|
|
504
635
|
*/
|
|
505
636
|
var CommonTitleSettings = /** @class */ (function (_super) {
|
|
506
637
|
__extends(CommonTitleSettings, _super);
|
|
@@ -517,7 +648,7 @@ var CommonTitleSettings = /** @class */ (function (_super) {
|
|
|
517
648
|
}(ChildProperty));
|
|
518
649
|
export { CommonTitleSettings };
|
|
519
650
|
/**
|
|
520
|
-
*
|
|
651
|
+
* Gets or sets the options to customize the subtitle of the maps.
|
|
521
652
|
*/
|
|
522
653
|
var SubTitleSettings = /** @class */ (function (_super) {
|
|
523
654
|
__extends(SubTitleSettings, _super);
|
|
@@ -534,7 +665,7 @@ var SubTitleSettings = /** @class */ (function (_super) {
|
|
|
534
665
|
}(CommonTitleSettings));
|
|
535
666
|
export { SubTitleSettings };
|
|
536
667
|
/**
|
|
537
|
-
*
|
|
668
|
+
* Gets or sets the options to customize the title of the maps.
|
|
538
669
|
*/
|
|
539
670
|
var TitleSettings = /** @class */ (function (_super) {
|
|
540
671
|
__extends(TitleSettings, _super);
|
|
@@ -554,7 +685,7 @@ var TitleSettings = /** @class */ (function (_super) {
|
|
|
554
685
|
}(CommonTitleSettings));
|
|
555
686
|
export { TitleSettings };
|
|
556
687
|
/**
|
|
557
|
-
*
|
|
688
|
+
* Gets or sets the options to configure maps zooming operations.
|
|
558
689
|
*/
|
|
559
690
|
var ZoomSettings = /** @class */ (function (_super) {
|
|
560
691
|
__extends(ZoomSettings, _super);
|
|
@@ -618,11 +749,14 @@ var ZoomSettings = /** @class */ (function (_super) {
|
|
|
618
749
|
__decorate([
|
|
619
750
|
Property(true)
|
|
620
751
|
], ZoomSettings.prototype, "resetToInitial", void 0);
|
|
752
|
+
__decorate([
|
|
753
|
+
Complex({}, ZoomToolbarSettings)
|
|
754
|
+
], ZoomSettings.prototype, "toolbarSettings", void 0);
|
|
621
755
|
return ZoomSettings;
|
|
622
756
|
}(ChildProperty));
|
|
623
757
|
export { ZoomSettings };
|
|
624
758
|
/**
|
|
625
|
-
*
|
|
759
|
+
* Gets or sets the settings to customize the color-mapping visibility based on the legend visibility.
|
|
626
760
|
*/
|
|
627
761
|
var ToggleLegendSettings = /** @class */ (function (_super) {
|
|
628
762
|
__extends(ToggleLegendSettings, _super);
|
|
@@ -648,7 +782,7 @@ var ToggleLegendSettings = /** @class */ (function (_super) {
|
|
|
648
782
|
}(ChildProperty));
|
|
649
783
|
export { ToggleLegendSettings };
|
|
650
784
|
/**
|
|
651
|
-
*
|
|
785
|
+
* Gets or sets the options to customize the legend of the maps.
|
|
652
786
|
*/
|
|
653
787
|
var LegendSettings = /** @class */ (function (_super) {
|
|
654
788
|
__extends(LegendSettings, _super);
|
|
@@ -749,7 +883,7 @@ var LegendSettings = /** @class */ (function (_super) {
|
|
|
749
883
|
}(ChildProperty));
|
|
750
884
|
export { LegendSettings };
|
|
751
885
|
/**
|
|
752
|
-
*
|
|
886
|
+
* Gets or sets the options to customize the data labels in maps.
|
|
753
887
|
*/
|
|
754
888
|
var DataLabelSettings = /** @class */ (function (_super) {
|
|
755
889
|
__extends(DataLabelSettings, _super);
|
|
@@ -793,7 +927,7 @@ var DataLabelSettings = /** @class */ (function (_super) {
|
|
|
793
927
|
}(ChildProperty));
|
|
794
928
|
export { DataLabelSettings };
|
|
795
929
|
/**
|
|
796
|
-
*
|
|
930
|
+
* Gets or sets the options to customize the shapes in the maps.
|
|
797
931
|
*/
|
|
798
932
|
var ShapeSettings = /** @class */ (function (_super) {
|
|
799
933
|
__extends(ShapeSettings, _super);
|
|
@@ -840,7 +974,7 @@ var ShapeSettings = /** @class */ (function (_super) {
|
|
|
840
974
|
}(ChildProperty));
|
|
841
975
|
export { ShapeSettings };
|
|
842
976
|
/**
|
|
843
|
-
*
|
|
977
|
+
* Gets or sets the options to customize the markers in the maps.
|
|
844
978
|
*/
|
|
845
979
|
var MarkerBase = /** @class */ (function (_super) {
|
|
846
980
|
__extends(MarkerBase, _super);
|
|
@@ -856,6 +990,9 @@ var MarkerBase = /** @class */ (function (_super) {
|
|
|
856
990
|
__decorate([
|
|
857
991
|
Property(false)
|
|
858
992
|
], MarkerBase.prototype, "visible", void 0);
|
|
993
|
+
__decorate([
|
|
994
|
+
Property(false)
|
|
995
|
+
], MarkerBase.prototype, "enableDrag", void 0);
|
|
859
996
|
__decorate([
|
|
860
997
|
Property('#FF471A')
|
|
861
998
|
], MarkerBase.prototype, "fill", void 0);
|
|
@@ -925,6 +1062,9 @@ var MarkerBase = /** @class */ (function (_super) {
|
|
|
925
1062
|
return MarkerBase;
|
|
926
1063
|
}(ChildProperty));
|
|
927
1064
|
export { MarkerBase };
|
|
1065
|
+
/**
|
|
1066
|
+
* Gets or sets the options to customize the markers in the maps.
|
|
1067
|
+
*/
|
|
928
1068
|
var MarkerSettings = /** @class */ (function (_super) {
|
|
929
1069
|
__extends(MarkerSettings, _super);
|
|
930
1070
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -935,7 +1075,7 @@ var MarkerSettings = /** @class */ (function (_super) {
|
|
|
935
1075
|
}(MarkerBase));
|
|
936
1076
|
export { MarkerSettings };
|
|
937
1077
|
/**
|
|
938
|
-
*
|
|
1078
|
+
* Gets or sets the options to customize the layers of the maps.
|
|
939
1079
|
*/
|
|
940
1080
|
var LayerSettings = /** @class */ (function (_super) {
|
|
941
1081
|
__extends(LayerSettings, _super);
|
|
@@ -1047,7 +1187,7 @@ var Tile = /** @class */ (function () {
|
|
|
1047
1187
|
}());
|
|
1048
1188
|
export { Tile };
|
|
1049
1189
|
/**
|
|
1050
|
-
*
|
|
1190
|
+
* Gets or sets the options to customize the area around the shapes in the map layer.
|
|
1051
1191
|
*/
|
|
1052
1192
|
var MapsAreaSettings = /** @class */ (function (_super) {
|
|
1053
1193
|
__extends(MapsAreaSettings, _super);
|
|
@@ -106,6 +106,18 @@ export declare const markerClusterRendering: string;
|
|
|
106
106
|
* @private
|
|
107
107
|
*/
|
|
108
108
|
export declare const markerClick: string;
|
|
109
|
+
/**
|
|
110
|
+
* Specifies the maps marker drag start event name.
|
|
111
|
+
*
|
|
112
|
+
* @private
|
|
113
|
+
*/
|
|
114
|
+
export declare const markerDragStart: string;
|
|
115
|
+
/**
|
|
116
|
+
* Specifies the maps marker drag end event name.
|
|
117
|
+
*
|
|
118
|
+
* @private
|
|
119
|
+
*/
|
|
120
|
+
export declare const markerDragEnd: string;
|
|
109
121
|
/**
|
|
110
122
|
* Specifies the maps cluster click event name.
|
|
111
123
|
*
|
|
@@ -106,6 +106,18 @@ export var markerClusterRendering = 'markerClusterRendering';
|
|
|
106
106
|
* @private
|
|
107
107
|
*/
|
|
108
108
|
export var markerClick = 'markerClick';
|
|
109
|
+
/**
|
|
110
|
+
* Specifies the maps marker drag start event name.
|
|
111
|
+
*
|
|
112
|
+
* @private
|
|
113
|
+
*/
|
|
114
|
+
export var markerDragStart = 'markerDragStart';
|
|
115
|
+
/**
|
|
116
|
+
* Specifies the maps marker drag end event name.
|
|
117
|
+
*
|
|
118
|
+
* @private
|
|
119
|
+
*/
|
|
120
|
+
export var markerDragEnd = 'markerDragEnd';
|
|
109
121
|
/**
|
|
110
122
|
* Specifies the maps cluster click event name.
|
|
111
123
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createElement, Browser, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
2
2
|
import { triggerDownload, getElementByID } from '../utils/helper';
|
|
3
3
|
/**
|
|
4
|
-
* This module enables the export to Image functionality in
|
|
4
|
+
* This module enables the export to Image functionality in maps.
|
|
5
5
|
*
|
|
6
6
|
* @hidden
|
|
7
7
|
*/
|
|
@@ -2,7 +2,7 @@ import { Maps } from '../../index';
|
|
|
2
2
|
import { ExportType } from '../utils/enum';
|
|
3
3
|
import { PdfPageOrientation } from '@syncfusion/ej2-pdf-export';
|
|
4
4
|
/**
|
|
5
|
-
* This module enables the export to PDF functionality in
|
|
5
|
+
* This module enables the export to PDF functionality in maps.
|
|
6
6
|
*
|
|
7
7
|
* @hidden
|
|
8
8
|
*/
|
|
@@ -19,7 +19,7 @@ export declare class PdfExport {
|
|
|
19
19
|
* @param {ExportType} type - Specifies the type of the document.
|
|
20
20
|
* @param {string} fileName - Specifies the name of the PDF document.
|
|
21
21
|
* @param {boolean} allowDownload - Specifies whether to download the document or not.
|
|
22
|
-
* @param {PdfPageOrientation} orientation - Specifies the orientation of the PDF document to export the
|
|
22
|
+
* @param {PdfPageOrientation} orientation - Specifies the orientation of the PDF document to export the maps.
|
|
23
23
|
* @returns {Promise<string>} - Returns "null" value when the allowDownload is set to false.
|
|
24
24
|
* @private
|
|
25
25
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createElement, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
2
2
|
import { PdfPageOrientation, PdfDocument, PdfBitmap } from '@syncfusion/ej2-pdf-export';
|
|
3
3
|
/**
|
|
4
|
-
* This module enables the export to PDF functionality in
|
|
4
|
+
* This module enables the export to PDF functionality in maps.
|
|
5
5
|
*
|
|
6
6
|
* @hidden
|
|
7
7
|
*/
|
|
@@ -20,7 +20,7 @@ var PdfExport = /** @class */ (function () {
|
|
|
20
20
|
* @param {ExportType} type - Specifies the type of the document.
|
|
21
21
|
* @param {string} fileName - Specifies the name of the PDF document.
|
|
22
22
|
* @param {boolean} allowDownload - Specifies whether to download the document or not.
|
|
23
|
-
* @param {PdfPageOrientation} orientation - Specifies the orientation of the PDF document to export the
|
|
23
|
+
* @param {PdfPageOrientation} orientation - Specifies the orientation of the PDF document to export the maps.
|
|
24
24
|
* @returns {Promise<string>} - Returns "null" value when the allowDownload is set to false.
|
|
25
25
|
* @private
|
|
26
26
|
*/
|