@syncfusion/ej2-maps 25.2.5 → 26.1.41

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.
@@ -1,9 +1,9 @@
1
- import { Animation, Browser, ChildProperty, Collection, Complex, Component, Event, EventHandler, Fetch, Internationalization, L10n, NotifyPropertyChanges, Property, SanitizeHtmlHelper, animationMode, compile, createElement, extend, isNullOrUndefined, merge, print, remove, setValue } from '@syncfusion/ej2-base';
1
+ import { isNullOrUndefined, createElement, merge, remove, animationMode, compile, Animation, SanitizeHtmlHelper, Property, ChildProperty, Complex, Collection, extend, Fetch, setValue, Browser, EventHandler, Internationalization, L10n, Event, NotifyPropertyChanges, Component, print } from '@syncfusion/ej2-base';
2
2
  import { SvgRenderer, Tooltip } from '@syncfusion/ej2-svg-base';
3
3
  import { DataManager, Query } from '@syncfusion/ej2-data';
4
- import { PdfBitmap, PdfDocument, PdfPageOrientation } from '@syncfusion/ej2-pdf-export';
4
+ import { PdfPageOrientation, PdfDocument, PdfBitmap } from '@syncfusion/ej2-pdf-export';
5
5
 
6
- var __extends$1 = (undefined && undefined.__extends) || (function () {
6
+ var __extends = (undefined && undefined.__extends) || (function () {
7
7
  var extendStatics = function (d, b) {
8
8
  extendStatics = Object.setPrototypeOf ||
9
9
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -16,10 +16,6 @@ var __extends$1 = (undefined && undefined.__extends) || (function () {
16
16
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
17
17
  };
18
18
  })();
19
- /* eslint-disable max-len */
20
- /**
21
- * Helper functions for maps control
22
- */
23
19
  /**
24
20
  * Specifies the size information of an element.
25
21
  */
@@ -223,18 +219,20 @@ function convertGeoToPoint(latitude, longitude, factor, layer, mapModel) {
223
219
  */
224
220
  function calculatePolygonPath(maps, factor, currentLayer, markerData) {
225
221
  var path = '';
226
- Array.prototype.forEach.call(markerData, function (data, dataIndex) {
227
- var lat = data.latitude;
228
- var lng = data.longitude;
229
- var location = (maps.isTileMap) ? convertTileLatLongToPoint(new MapLocation(lng, lat), factor, maps.tileTranslatePoint, true) : convertGeoToPoint(lat, lng, factor, currentLayer, maps);
230
- if (dataIndex === 0) {
231
- path += 'M ' + location.x + ' ' + location.y;
232
- }
233
- else {
234
- path += ' L ' + location.x + ' ' + location.y;
235
- }
236
- });
237
- path += ' z ';
222
+ if (!isNullOrUndefined(markerData) && markerData.length > 1) {
223
+ Array.prototype.forEach.call(markerData, function (data, dataIndex) {
224
+ var lat = data.latitude;
225
+ var lng = data.longitude;
226
+ var location = (maps.isTileMap) ? convertTileLatLongToPoint(new MapLocation(lng, lat), factor, maps.tileTranslatePoint, true) : convertGeoToPoint(lat, lng, factor, currentLayer, maps);
227
+ if (dataIndex === 0) {
228
+ path += 'M ' + location.x + ' ' + location.y;
229
+ }
230
+ else {
231
+ path += ' L ' + location.x + ' ' + location.y;
232
+ }
233
+ });
234
+ path += ' z ';
235
+ }
238
236
  return path;
239
237
  }
240
238
  /**
@@ -500,7 +498,7 @@ var ColorValue = /** @__PURE__ @class */ (function () {
500
498
  * @private
501
499
  */
502
500
  var RectOption = /** @__PURE__ @class */ (function (_super) {
503
- __extends$1(RectOption, _super);
501
+ __extends(RectOption, _super);
504
502
  function RectOption(id, fill, border, fillOpacity, rect, rx, ry, transform, dashArray) {
505
503
  var _this = _super.call(this, id, fill, border.width, border.color, fillOpacity, border.opacity) || this;
506
504
  _this.y = rect.y;
@@ -523,7 +521,7 @@ var RectOption = /** @__PURE__ @class */ (function (_super) {
523
521
  * @private
524
522
  */
525
523
  var CircleOption = /** @__PURE__ @class */ (function (_super) {
526
- __extends$1(CircleOption, _super);
524
+ __extends(CircleOption, _super);
527
525
  function CircleOption(id, fill, border, fillOpacity, cx, cy, r, dashArray) {
528
526
  var _this = _super.call(this, id, fill, border.width, border.color, fillOpacity, border.opacity, dashArray) || this;
529
527
  _this.cy = cy;
@@ -542,7 +540,7 @@ var CircleOption = /** @__PURE__ @class */ (function (_super) {
542
540
  * @private
543
541
  */
544
542
  var PolygonOption = /** @__PURE__ @class */ (function (_super) {
545
- __extends$1(PolygonOption, _super);
543
+ __extends(PolygonOption, _super);
546
544
  function PolygonOption(id, points, fill, width, color, fillOpacity, strokeOpacity, dashArray) {
547
545
  if (fillOpacity === void 0) { fillOpacity = 1; }
548
546
  if (strokeOpacity === void 0) { strokeOpacity = 1; }
@@ -559,7 +557,7 @@ var PolygonOption = /** @__PURE__ @class */ (function (_super) {
559
557
  * @private
560
558
  */
561
559
  var PolylineOption = /** @__PURE__ @class */ (function (_super) {
562
- __extends$1(PolylineOption, _super);
560
+ __extends(PolylineOption, _super);
563
561
  function PolylineOption(id, points, fill, width, color, fillOpacity, strokeOpacity, dashArray) {
564
562
  if (fillOpacity === void 0) { fillOpacity = 1; }
565
563
  if (strokeOpacity === void 0) { strokeOpacity = 1; }
@@ -574,7 +572,7 @@ var PolylineOption = /** @__PURE__ @class */ (function (_super) {
574
572
  * @private
575
573
  */
576
574
  var LineOption = /** @__PURE__ @class */ (function (_super) {
577
- __extends$1(LineOption, _super);
575
+ __extends(LineOption, _super);
578
576
  function LineOption(id, line, fill, width, color, fillOpacity, strokeOpacity, dashArray) {
579
577
  if (fillOpacity === void 0) { fillOpacity = 1; }
580
578
  if (strokeOpacity === void 0) { strokeOpacity = 1; }
@@ -1414,15 +1412,6 @@ function markerTemplate(eventArgs, templateFn, markerID, data, markerIndex, mark
1414
1412
  markerElement.style.left = (maps.isTileMap ? location.x : (location.x + transPoint.x) * scale) + offset.x - maps.mapAreaRect.x + 'px';
1415
1413
  markerElement.style.top = (maps.isTileMap ? location.y : (location.y + transPoint.y) * scale) + offset.y - maps.mapAreaRect.y + 'px';
1416
1414
  markerTemplate.appendChild(markerElement);
1417
- if (maps.layers[maps.baseLayerIndex].layerType === 'GoogleStaticMap') {
1418
- var staticMapOffset = getElementByID(maps.element.id + '_StaticGoogleMap').getBoundingClientRect();
1419
- var markerElementOffset = markerElement.getBoundingClientRect();
1420
- var staticMapOffsetWidth = 640;
1421
- if ((staticMapOffset['x'] > markerElementOffset['x'] || staticMapOffset['x'] + staticMapOffsetWidth < markerElementOffset['x'] + markerElementOffset['width'])
1422
- && (staticMapOffset['y'] > markerElementOffset['y'] || staticMapOffset['y'] + staticMapOffset['height'] < markerElementOffset['y'] + markerElementOffset['height'])) {
1423
- markerElement.style.display = 'none';
1424
- }
1425
- }
1426
1415
  }
1427
1416
  return markerTemplate;
1428
1417
  }
@@ -1847,7 +1836,7 @@ function getFieldData(dataSource, fields) {
1847
1836
  function checkShapeDataFields(dataSource, properties, dataPath, propertyPath,
1848
1837
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1849
1838
  layer) {
1850
- if (!(isNullOrUndefined(properties))) {
1839
+ if (!(isNullOrUndefined(properties)) && !isNullOrUndefined(dataSource)) {
1851
1840
  for (var i = 0; i < dataSource.length; i++) {
1852
1841
  var shapeDataPath = ((dataPath.indexOf('.') > -1) ? getValueFromObject(dataSource[i], dataPath) :
1853
1842
  dataSource[i][dataPath]);
@@ -2471,8 +2460,7 @@ function getZoomTranslate(mapObject, layer, animate) {
2471
2460
  */
2472
2461
  function fixInitialScaleForTile(map) {
2473
2462
  map.tileZoomScale = map.tileZoomLevel = Math.floor(map.availableSize.height / 512) + 1;
2474
- var padding = map.layers[map.baseLayerIndex].layerType !== 'GoogleStaticMap' ?
2475
- 20 : 0;
2463
+ var padding = 20;
2476
2464
  var totalSize = Math.pow(2, map.tileZoomLevel) * 256;
2477
2465
  map.tileTranslatePoint.x = (map.availableSize.width / 2) - (totalSize / 2);
2478
2466
  map.tileTranslatePoint.y = (map.availableSize.height / 2) - (totalSize / 2) + padding;
@@ -2576,7 +2564,7 @@ function getShapeData(targetId, map) {
2576
2564
  var data;
2577
2565
  if (layer.dataSource) {
2578
2566
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2579
- data = layer.dataSource[checkShapeDataFields(layer.dataSource, shapeData, layer.shapeDataPath, layer.shapePropertyPath, layer)];
2567
+ data = layer.dataSource[checkShapeDataFields(layer.dataSource, shapeData, layer.shapeDataPath, layer.shapePropertyPath)];
2580
2568
  }
2581
2569
  return { shapeData: shapeData, data: data };
2582
2570
  }
@@ -3608,7 +3596,7 @@ var Theme;
3608
3596
  };
3609
3597
  /** @private */
3610
3598
  Theme.dataLabelFont = {
3611
- size: '12px',
3599
+ size: null,
3612
3600
  fontWeight: 'Medium',
3613
3601
  color: '#000000',
3614
3602
  fontStyle: 'Medium',
@@ -3761,6 +3749,15 @@ function getShapeColor(theme) {
3761
3749
  themePalette = ['#4EAAFF', '#FA4EAB', '#FFF500', '#17EA58', '#38FFE7',
3762
3750
  '#FF9E45', '#B3F32F', '#B93CE4', '#FC5664', '#9B55FF'];
3763
3751
  break;
3752
+ case 'fluent2':
3753
+ themePalette = ['#6200EE', '#09AF74', '#0076E5', '#CB3587', '#E7910F',
3754
+ '#0364DE', '#66CD15', '#F3A93C', '#107C10', '#C19C00'];
3755
+ break;
3756
+ case 'fluent2dark':
3757
+ case 'fluent2highcontrast':
3758
+ themePalette = ['#9BB449', '#2A72D5', '#43B786', '#3F579A', '#584EC6',
3759
+ '#E85F9C', '#6E7A89', '#EA6266', '#0B6A0B', '#C19C00'];
3760
+ break;
3764
3761
  default:
3765
3762
  themePalette = ['#B5E485', '#7BC1E8', '#DF819C', '#EC9B79', '#78D0D3',
3766
3763
  '#D6D572', '#9178E3', '#A1E5B4', '#87A4B4', '#E4C16C'];
@@ -3816,7 +3813,7 @@ var HighContrastTheme;
3816
3813
  };
3817
3814
  /** @private */
3818
3815
  HighContrastTheme.dataLabelFont = {
3819
- size: '12px',
3816
+ size: null,
3820
3817
  fontWeight: 'Medium',
3821
3818
  color: '#000000',
3822
3819
  fontStyle: 'Medium',
@@ -3910,13 +3907,19 @@ function getThemeStyle(theme) {
3910
3907
  labelFontFamily: 'Roboto, Noto, Sans-serif',
3911
3908
  fontFamily: 'Roboto, Noto, Sans-serif',
3912
3909
  fontSize: '12px',
3910
+ legendFontSize: '12px',
3913
3911
  fontWeight: 'Medium',
3914
3912
  titleFontWeight: 'Medium',
3915
3913
  zoomSelectionColor: '#e61576',
3916
3914
  shapeFill: '#A6A6A6',
3915
+ shapeBorderColor: '#000000',
3917
3916
  rectangleZoomFillColor: '#d3d3d3',
3918
3917
  rectangleZoomFillOpacity: 0.5,
3919
- rectangleZoomBorderColor: '#009900'
3918
+ rectangleZoomBorderColor: '#009900',
3919
+ legendBorderColor: '#000000',
3920
+ legendBorderWidth: 0,
3921
+ tooltipBorderColor: 'transparent',
3922
+ zoomButtonRadius: 30
3920
3923
  };
3921
3924
  break;
3922
3925
  case 'highcontrast':
@@ -3934,14 +3937,20 @@ function getThemeStyle(theme) {
3934
3937
  zoomFillColor: '#FFFFFF',
3935
3938
  fontFamily: 'Roboto, Noto, Sans-serif',
3936
3939
  fontSize: '12px',
3940
+ legendFontSize: '12px',
3937
3941
  fontWeight: 'Medium',
3938
3942
  labelFontFamily: 'Roboto, Noto, Sans-serif',
3939
3943
  titleFontWeight: 'Medium',
3940
3944
  zoomSelectionColor: '#e61576',
3941
3945
  shapeFill: '#A6A6A6',
3946
+ shapeBorderColor: '#000000',
3942
3947
  rectangleZoomFillColor: '#d3d3d3',
3943
3948
  rectangleZoomFillOpacity: 0.5,
3944
- rectangleZoomBorderColor: '#009900'
3949
+ rectangleZoomBorderColor: '#009900',
3950
+ legendBorderColor: '#000000',
3951
+ legendBorderWidth: 0,
3952
+ tooltipBorderColor: 'transparent',
3953
+ zoomButtonRadius: 30
3945
3954
  };
3946
3955
  break;
3947
3956
  case 'bootstrap4':
@@ -3967,9 +3976,14 @@ function getThemeStyle(theme) {
3967
3976
  titleFontWeight: 'Medium',
3968
3977
  zoomSelectionColor: '#e61576',
3969
3978
  shapeFill: '#A6A6A6',
3979
+ shapeBorderColor: '#000000',
3970
3980
  rectangleZoomFillColor: '#d3d3d3',
3971
3981
  rectangleZoomFillOpacity: 0.5,
3972
- rectangleZoomBorderColor: '#009900'
3982
+ rectangleZoomBorderColor: '#009900',
3983
+ legendBorderColor: '#000000',
3984
+ legendBorderWidth: 0,
3985
+ tooltipBorderColor: 'transparent',
3986
+ zoomButtonRadius: 30
3973
3987
  };
3974
3988
  break;
3975
3989
  case 'tailwind':
@@ -3995,9 +4009,14 @@ function getThemeStyle(theme) {
3995
4009
  titleFontWeight: '500',
3996
4010
  zoomSelectionColor: '#374151',
3997
4011
  shapeFill: '#E5E7EB',
4012
+ shapeBorderColor: '#000000',
3998
4013
  rectangleZoomFillColor: '#d3d3d3',
3999
4014
  rectangleZoomFillOpacity: 0.5,
4000
- rectangleZoomBorderColor: '#009900'
4015
+ rectangleZoomBorderColor: '#009900',
4016
+ legendBorderColor: '#000000',
4017
+ legendBorderWidth: 0,
4018
+ tooltipBorderColor: 'transparent',
4019
+ zoomButtonRadius: 30
4001
4020
  };
4002
4021
  break;
4003
4022
  case 'tailwinddark':
@@ -4023,9 +4042,14 @@ function getThemeStyle(theme) {
4023
4042
  titleFontWeight: '500',
4024
4043
  zoomSelectionColor: '#F3F4F6',
4025
4044
  shapeFill: '#374151',
4045
+ shapeBorderColor: '#000000',
4026
4046
  rectangleZoomFillColor: '#d3d3d3',
4027
4047
  rectangleZoomFillOpacity: 0.5,
4028
- rectangleZoomBorderColor: '#009900'
4048
+ rectangleZoomBorderColor: '#009900',
4049
+ legendBorderColor: '#000000',
4050
+ legendBorderWidth: 0,
4051
+ tooltipBorderColor: 'transparent',
4052
+ zoomButtonRadius: 30
4029
4053
  };
4030
4054
  break;
4031
4055
  case 'bootstrap5':
@@ -4051,9 +4075,14 @@ function getThemeStyle(theme) {
4051
4075
  titleFontWeight: 'normal',
4052
4076
  zoomSelectionColor: '#343A40',
4053
4077
  shapeFill: '#E9ECEF',
4078
+ shapeBorderColor: '#000000',
4054
4079
  rectangleZoomFillColor: '#d3d3d3',
4055
4080
  rectangleZoomFillOpacity: 0.5,
4056
- rectangleZoomBorderColor: '#009900'
4081
+ rectangleZoomBorderColor: '#009900',
4082
+ legendBorderColor: '#000000',
4083
+ legendBorderWidth: 0,
4084
+ tooltipBorderColor: 'transparent',
4085
+ zoomButtonRadius: 30
4057
4086
  };
4058
4087
  break;
4059
4088
  case 'bootstrap5dark':
@@ -4079,9 +4108,14 @@ function getThemeStyle(theme) {
4079
4108
  titleFontWeight: 'normal',
4080
4109
  zoomSelectionColor: '#DEE2E6',
4081
4110
  shapeFill: '#495057',
4111
+ shapeBorderColor: '#000000',
4082
4112
  rectangleZoomFillColor: '#d3d3d3',
4083
4113
  rectangleZoomFillOpacity: 0.5,
4084
- rectangleZoomBorderColor: '#009900'
4114
+ rectangleZoomBorderColor: '#009900',
4115
+ legendBorderColor: '#000000',
4116
+ legendBorderWidth: 0,
4117
+ tooltipBorderColor: 'transparent',
4118
+ zoomButtonRadius: 30
4085
4119
  };
4086
4120
  break;
4087
4121
  case 'fluent':
@@ -4107,9 +4141,14 @@ function getThemeStyle(theme) {
4107
4141
  titleFontWeight: '600',
4108
4142
  zoomSelectionColor: '#323130',
4109
4143
  shapeFill: '#F3F2F1',
4144
+ shapeBorderColor: '#000000',
4110
4145
  rectangleZoomFillColor: '#d3d3d3',
4111
4146
  rectangleZoomFillOpacity: 0.5,
4112
- rectangleZoomBorderColor: '#009900'
4147
+ rectangleZoomBorderColor: '#009900',
4148
+ legendBorderColor: '#000000',
4149
+ legendBorderWidth: 0,
4150
+ tooltipBorderColor: 'transparent',
4151
+ zoomButtonRadius: 30
4113
4152
  };
4114
4153
  break;
4115
4154
  case 'fluentdark':
@@ -4135,9 +4174,14 @@ function getThemeStyle(theme) {
4135
4174
  titleFontWeight: '600',
4136
4175
  zoomSelectionColor: '#F3F2F1',
4137
4176
  shapeFill: '#252423',
4177
+ shapeBorderColor: '#000000',
4138
4178
  rectangleZoomFillColor: '#d3d3d3',
4139
4179
  rectangleZoomFillOpacity: 0.5,
4140
- rectangleZoomBorderColor: '#009900'
4180
+ rectangleZoomBorderColor: '#009900',
4181
+ legendBorderColor: '#000000',
4182
+ legendBorderWidth: 0,
4183
+ tooltipBorderColor: 'transparent',
4184
+ zoomButtonRadius: 30
4141
4185
  };
4142
4186
  break;
4143
4187
  case 'material3':
@@ -4164,9 +4208,14 @@ function getThemeStyle(theme) {
4164
4208
  fontWeight: '400',
4165
4209
  zoomSelectionColor: '#49454E',
4166
4210
  shapeFill: '#E7E0EC',
4211
+ shapeBorderColor: '#000000',
4167
4212
  rectangleZoomFillColor: '#6750A4',
4168
4213
  rectangleZoomFillOpacity: 0.24,
4169
- rectangleZoomBorderColor: '#6750A4'
4214
+ rectangleZoomBorderColor: '#6750A4',
4215
+ legendBorderColor: '#000000',
4216
+ legendBorderWidth: 0,
4217
+ tooltipBorderColor: 'transparent',
4218
+ zoomButtonRadius: 30
4170
4219
  };
4171
4220
  break;
4172
4221
  case 'material3dark':
@@ -4193,9 +4242,117 @@ function getThemeStyle(theme) {
4193
4242
  fontWeight: '400',
4194
4243
  zoomSelectionColor: '#E6E1E5',
4195
4244
  shapeFill: '#49454F',
4245
+ shapeBorderColor: '#000000',
4196
4246
  rectangleZoomFillColor: '#D0BCFF',
4197
4247
  rectangleZoomFillOpacity: 0.24,
4198
- rectangleZoomBorderColor: '#D0BCFF'
4248
+ rectangleZoomBorderColor: '#D0BCFF',
4249
+ legendBorderColor: '#000000',
4250
+ legendBorderWidth: 0,
4251
+ tooltipBorderColor: 'transparent',
4252
+ zoomButtonRadius: 30
4253
+ };
4254
+ break;
4255
+ case 'fluent2':
4256
+ style = {
4257
+ backgroundColor: 'transparent',
4258
+ areaBackgroundColor: 'transparent',
4259
+ titleFontColor: '#242424',
4260
+ subTitleFontColor: '#242424',
4261
+ legendTitleFontColor: '#242424',
4262
+ legendTextColor: '#242424',
4263
+ dataLabelFontColor: '#242424',
4264
+ tooltipFontColor: '#242424',
4265
+ tooltipFillColor: '#FFFFFF',
4266
+ zoomFillColor: '#D1D1D1',
4267
+ fontFamily: 'Segoe UI',
4268
+ fontSize: '10px',
4269
+ fontWeight: '400',
4270
+ titleFontSize: '14px',
4271
+ subTitleFontSize: '12px',
4272
+ legendFontSize: '12px',
4273
+ tooltipFillOpacity: 1,
4274
+ tooltipTextOpacity: 1,
4275
+ labelFontFamily: 'Segoe UI',
4276
+ titleFontWeight: '600',
4277
+ zoomSelectionColor: '#242424',
4278
+ shapeFill: '#E6E6E6',
4279
+ shapeBorderColor: '#EBEBEB',
4280
+ rectangleZoomFillColor: '#B4D6FA',
4281
+ rectangleZoomFillOpacity: 0.25,
4282
+ rectangleZoomBorderColor: '#0F6CBD',
4283
+ legendBorderColor: '#000000',
4284
+ legendBorderWidth: 0,
4285
+ tooltipBorderColor: 'transparent',
4286
+ zoomButtonRadius: 32
4287
+ };
4288
+ break;
4289
+ case 'fluent2dark':
4290
+ style = {
4291
+ backgroundColor: 'transparent',
4292
+ areaBackgroundColor: 'transparent',
4293
+ titleFontColor: '#FFFFFF',
4294
+ subTitleFontColor: '#FFFFFF',
4295
+ legendTitleFontColor: '#FFFFFF',
4296
+ legendTextColor: '#FFFFFF',
4297
+ dataLabelFontColor: '#FFFFFF',
4298
+ tooltipFontColor: '#FFFFFF',
4299
+ tooltipFillColor: '#292929',
4300
+ zoomFillColor: '#666',
4301
+ fontFamily: 'Segoe UI',
4302
+ fontSize: '10px',
4303
+ fontWeight: '400',
4304
+ titleFontSize: '14px',
4305
+ subTitleFontSize: '12px',
4306
+ legendFontSize: '12px',
4307
+ tooltipFillOpacity: 1,
4308
+ tooltipTextOpacity: 1,
4309
+ labelFontFamily: 'Segoe UI',
4310
+ titleFontWeight: '600',
4311
+ zoomSelectionColor: '#FFFFFF',
4312
+ shapeFill: '#333333',
4313
+ shapeBorderColor: '#000000',
4314
+ rectangleZoomFillColor: '#0E4775',
4315
+ rectangleZoomFillOpacity: 0.25,
4316
+ rectangleZoomBorderColor: '#0E4775',
4317
+ legendBorderColor: '#000000',
4318
+ legendBorderWidth: 0,
4319
+ tooltipBorderColor: 'transparent',
4320
+ zoomButtonRadius: 32
4321
+ };
4322
+ break;
4323
+ case 'fluent2highcontrast':
4324
+ style = {
4325
+ backgroundColor: 'transparent',
4326
+ areaBackgroundColor: 'transparent',
4327
+ titleFontColor: '#FFFFFF',
4328
+ subTitleFontColor: '#FFFFFF',
4329
+ legendTitleFontColor: '#FFFFFF',
4330
+ legendTextColor: '#FFFFFF',
4331
+ dataLabelFontColor: '#FFFFFF',
4332
+ tooltipFontColor: '#FFFFFF',
4333
+ tooltipFillColor: '#000000',
4334
+ zoomFillColor: '#3FF23F',
4335
+ fontFamily: 'Segoe UI',
4336
+ fontSize: '10px',
4337
+ fontWeight: '400',
4338
+ titleFontSize: '14px',
4339
+ subTitleFontSize: '12px',
4340
+ legendFontSize: '12px',
4341
+ tooltipFillOpacity: 1,
4342
+ tooltipTextOpacity: 1,
4343
+ labelFontFamily: 'Segoe UI',
4344
+ titleFontWeight: '600',
4345
+ zoomSelectionColor: '#FFFFFF',
4346
+ zoomBorderColor: '#FFFFFF',
4347
+ shapeFill: '#292827',
4348
+ shapeBorderColor: '#292827',
4349
+ rectangleZoomFillColor: '#1AEBFF',
4350
+ rectangleZoomFillOpacity: 0.25,
4351
+ rectangleZoomBorderColor: '#1AEBFF',
4352
+ legendBorderColor: '#FFFFFF',
4353
+ legendBorderWidth: 1,
4354
+ tooltipBorderColor: '#FFF',
4355
+ zoomButtonRadius: 32
4199
4356
  };
4200
4357
  break;
4201
4358
  default:
@@ -4214,20 +4371,26 @@ function getThemeStyle(theme) {
4214
4371
  labelFontFamily: 'Roboto, Noto, Sans-serif',
4215
4372
  fontFamily: 'Roboto, Noto, Sans-serif',
4216
4373
  fontSize: '12px',
4374
+ legendFontSize: '12px',
4217
4375
  fontWeight: 'Medium',
4218
4376
  titleFontWeight: 'Medium',
4219
4377
  zoomSelectionColor: '#e61576',
4220
4378
  shapeFill: '#A6A6A6',
4379
+ shapeBorderColor: '#000000',
4221
4380
  rectangleZoomFillColor: '#d3d3d3',
4222
4381
  rectangleZoomFillOpacity: 0.5,
4223
- rectangleZoomBorderColor: '#009900'
4382
+ rectangleZoomBorderColor: '#009900',
4383
+ legendBorderColor: '#000000',
4384
+ legendBorderWidth: 0,
4385
+ tooltipBorderColor: 'transparent',
4386
+ zoomButtonRadius: 30
4224
4387
  };
4225
4388
  break;
4226
4389
  }
4227
4390
  return style;
4228
4391
  }
4229
4392
 
4230
- var __extends$2 = (undefined && undefined.__extends) || (function () {
4393
+ var __extends$1 = (undefined && undefined.__extends) || (function () {
4231
4394
  var extendStatics = function (d, b) {
4232
4395
  extendStatics = Object.setPrototypeOf ||
4233
4396
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -4240,40 +4403,36 @@ var __extends$2 = (undefined && undefined.__extends) || (function () {
4240
4403
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
4241
4404
  };
4242
4405
  })();
4243
- var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
4406
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
4244
4407
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4245
4408
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4246
4409
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
4247
4410
  return c > 3 && r && Object.defineProperty(target, key, r), r;
4248
4411
  };
4249
- /* eslint-disable max-len */
4250
- /**
4251
- * Maps base document
4252
- */
4253
4412
  /**
4254
4413
  * Gets or sets the options for customizing the annotation element in maps.
4255
4414
  */
4256
4415
  var Annotation = /** @__PURE__ @class */ (function (_super) {
4257
- __extends$2(Annotation, _super);
4416
+ __extends$1(Annotation, _super);
4258
4417
  function Annotation() {
4259
4418
  return _super !== null && _super.apply(this, arguments) || this;
4260
4419
  }
4261
- __decorate$1([
4420
+ __decorate([
4262
4421
  Property('')
4263
4422
  ], Annotation.prototype, "content", void 0);
4264
- __decorate$1([
4423
+ __decorate([
4265
4424
  Property('0px')
4266
4425
  ], Annotation.prototype, "x", void 0);
4267
- __decorate$1([
4426
+ __decorate([
4268
4427
  Property('0px')
4269
4428
  ], Annotation.prototype, "y", void 0);
4270
- __decorate$1([
4429
+ __decorate([
4271
4430
  Property('None')
4272
4431
  ], Annotation.prototype, "verticalAlignment", void 0);
4273
- __decorate$1([
4432
+ __decorate([
4274
4433
  Property('None')
4275
4434
  ], Annotation.prototype, "horizontalAlignment", void 0);
4276
- __decorate$1([
4435
+ __decorate([
4277
4436
  Property('-1')
4278
4437
  ], Annotation.prototype, "zIndex", void 0);
4279
4438
  return Annotation;
@@ -4282,23 +4441,23 @@ var Annotation = /** @__PURE__ @class */ (function (_super) {
4282
4441
  * Gets or sets the options to customize the arrow in the navigation line.
4283
4442
  */
4284
4443
  var Arrow = /** @__PURE__ @class */ (function (_super) {
4285
- __extends$2(Arrow, _super);
4444
+ __extends$1(Arrow, _super);
4286
4445
  function Arrow() {
4287
4446
  return _super !== null && _super.apply(this, arguments) || this;
4288
4447
  }
4289
- __decorate$1([
4448
+ __decorate([
4290
4449
  Property('Start')
4291
4450
  ], Arrow.prototype, "position", void 0);
4292
- __decorate$1([
4451
+ __decorate([
4293
4452
  Property('false')
4294
4453
  ], Arrow.prototype, "showArrow", void 0);
4295
- __decorate$1([
4454
+ __decorate([
4296
4455
  Property(2)
4297
4456
  ], Arrow.prototype, "size", void 0);
4298
- __decorate$1([
4457
+ __decorate([
4299
4458
  Property('black')
4300
4459
  ], Arrow.prototype, "color", void 0);
4301
- __decorate$1([
4460
+ __decorate([
4302
4461
  Property(0)
4303
4462
  ], Arrow.prototype, "offSet", void 0);
4304
4463
  return Arrow;
@@ -4307,26 +4466,26 @@ var Arrow = /** @__PURE__ @class */ (function (_super) {
4307
4466
  * Gets or sets the options to customize the style of the text in data label, legend and other texts in maps.
4308
4467
  */
4309
4468
  var Font = /** @__PURE__ @class */ (function (_super) {
4310
- __extends$2(Font, _super);
4469
+ __extends$1(Font, _super);
4311
4470
  function Font() {
4312
4471
  return _super !== null && _super.apply(this, arguments) || this;
4313
4472
  }
4314
- __decorate$1([
4315
- Property('12px')
4473
+ __decorate([
4474
+ Property(null)
4316
4475
  ], Font.prototype, "size", void 0);
4317
- __decorate$1([
4476
+ __decorate([
4318
4477
  Property(null)
4319
4478
  ], Font.prototype, "color", void 0);
4320
- __decorate$1([
4479
+ __decorate([
4321
4480
  Property('Roboto, Noto, Sans-serif')
4322
4481
  ], Font.prototype, "fontFamily", void 0);
4323
- __decorate$1([
4482
+ __decorate([
4324
4483
  Property('Medium')
4325
4484
  ], Font.prototype, "fontWeight", void 0);
4326
- __decorate$1([
4485
+ __decorate([
4327
4486
  Property('Medium')
4328
4487
  ], Font.prototype, "fontStyle", void 0);
4329
- __decorate$1([
4488
+ __decorate([
4330
4489
  Property(1)
4331
4490
  ], Font.prototype, "opacity", void 0);
4332
4491
  return Font;
@@ -4335,41 +4494,41 @@ var Font = /** @__PURE__ @class */ (function (_super) {
4335
4494
  * Specifies the options to customize the buttons in the zoom toolbar.
4336
4495
  */
4337
4496
  var ZoomToolbarButtonSettings = /** @__PURE__ @class */ (function (_super) {
4338
- __extends$2(ZoomToolbarButtonSettings, _super);
4497
+ __extends$1(ZoomToolbarButtonSettings, _super);
4339
4498
  function ZoomToolbarButtonSettings() {
4340
4499
  return _super !== null && _super.apply(this, arguments) || this;
4341
4500
  }
4342
- __decorate$1([
4501
+ __decorate([
4343
4502
  Property('transparent')
4344
4503
  ], ZoomToolbarButtonSettings.prototype, "fill", void 0);
4345
- __decorate$1([
4504
+ __decorate([
4346
4505
  Property(null)
4347
4506
  ], ZoomToolbarButtonSettings.prototype, "color", void 0);
4348
- __decorate$1([
4507
+ __decorate([
4349
4508
  Property(1)
4350
4509
  ], ZoomToolbarButtonSettings.prototype, "borderOpacity", void 0);
4351
- __decorate$1([
4510
+ __decorate([
4352
4511
  Property(1)
4353
4512
  ], ZoomToolbarButtonSettings.prototype, "borderWidth", void 0);
4354
- __decorate$1([
4513
+ __decorate([
4355
4514
  Property(null)
4356
4515
  ], ZoomToolbarButtonSettings.prototype, "borderColor", void 0);
4357
- __decorate$1([
4358
- Property(30)
4516
+ __decorate([
4517
+ Property(null)
4359
4518
  ], ZoomToolbarButtonSettings.prototype, "radius", void 0);
4360
- __decorate$1([
4519
+ __decorate([
4361
4520
  Property(null)
4362
4521
  ], ZoomToolbarButtonSettings.prototype, "selectionColor", void 0);
4363
- __decorate$1([
4522
+ __decorate([
4364
4523
  Property(null)
4365
4524
  ], ZoomToolbarButtonSettings.prototype, "highlightColor", void 0);
4366
- __decorate$1([
4525
+ __decorate([
4367
4526
  Property(5)
4368
4527
  ], ZoomToolbarButtonSettings.prototype, "padding", void 0);
4369
- __decorate$1([
4528
+ __decorate([
4370
4529
  Property(1)
4371
4530
  ], ZoomToolbarButtonSettings.prototype, "opacity", void 0);
4372
- __decorate$1([
4531
+ __decorate([
4373
4532
  Property(['ZoomIn', 'ZoomOut', 'Reset'])
4374
4533
  ], ZoomToolbarButtonSettings.prototype, "toolbarItems", void 0);
4375
4534
  return ZoomToolbarButtonSettings;
@@ -4378,41 +4537,41 @@ var ZoomToolbarButtonSettings = /** @__PURE__ @class */ (function (_super) {
4378
4537
  * Specifies the options to customize the tooltip of the zoom toolbar.
4379
4538
  */
4380
4539
  var ZoomToolbarTooltipSettings = /** @__PURE__ @class */ (function (_super) {
4381
- __extends$2(ZoomToolbarTooltipSettings, _super);
4540
+ __extends$1(ZoomToolbarTooltipSettings, _super);
4382
4541
  function ZoomToolbarTooltipSettings() {
4383
4542
  return _super !== null && _super.apply(this, arguments) || this;
4384
4543
  }
4385
- __decorate$1([
4544
+ __decorate([
4386
4545
  Property(true)
4387
4546
  ], ZoomToolbarTooltipSettings.prototype, "visible", void 0);
4388
- __decorate$1([
4547
+ __decorate([
4389
4548
  Property('white')
4390
4549
  ], ZoomToolbarTooltipSettings.prototype, "fill", void 0);
4391
- __decorate$1([
4550
+ __decorate([
4392
4551
  Property(1)
4393
4552
  ], ZoomToolbarTooltipSettings.prototype, "borderOpacity", void 0);
4394
- __decorate$1([
4553
+ __decorate([
4395
4554
  Property(1)
4396
4555
  ], ZoomToolbarTooltipSettings.prototype, "borderWidth", void 0);
4397
- __decorate$1([
4556
+ __decorate([
4398
4557
  Property('#707070')
4399
4558
  ], ZoomToolbarTooltipSettings.prototype, "borderColor", void 0);
4400
- __decorate$1([
4559
+ __decorate([
4401
4560
  Property('black')
4402
4561
  ], ZoomToolbarTooltipSettings.prototype, "fontColor", void 0);
4403
- __decorate$1([
4562
+ __decorate([
4404
4563
  Property('')
4405
4564
  ], ZoomToolbarTooltipSettings.prototype, "fontFamily", void 0);
4406
- __decorate$1([
4565
+ __decorate([
4407
4566
  Property('')
4408
4567
  ], ZoomToolbarTooltipSettings.prototype, "fontStyle", void 0);
4409
- __decorate$1([
4568
+ __decorate([
4410
4569
  Property('')
4411
4570
  ], ZoomToolbarTooltipSettings.prototype, "fontWeight", void 0);
4412
- __decorate$1([
4571
+ __decorate([
4413
4572
  Property('')
4414
4573
  ], ZoomToolbarTooltipSettings.prototype, "fontSize", void 0);
4415
- __decorate$1([
4574
+ __decorate([
4416
4575
  Property(1)
4417
4576
  ], ZoomToolbarTooltipSettings.prototype, "fontOpacity", void 0);
4418
4577
  return ZoomToolbarTooltipSettings;
@@ -4421,35 +4580,35 @@ var ZoomToolbarTooltipSettings = /** @__PURE__ @class */ (function (_super) {
4421
4580
  * Sets and gets the options to customize the border of the zoom toolbar.
4422
4581
  */
4423
4582
  var ZoomToolbarSettings = /** @__PURE__ @class */ (function (_super) {
4424
- __extends$2(ZoomToolbarSettings, _super);
4583
+ __extends$1(ZoomToolbarSettings, _super);
4425
4584
  function ZoomToolbarSettings() {
4426
4585
  return _super !== null && _super.apply(this, arguments) || this;
4427
4586
  }
4428
- __decorate$1([
4587
+ __decorate([
4429
4588
  Property('transparent')
4430
4589
  ], ZoomToolbarSettings.prototype, "backgroundColor", void 0);
4431
- __decorate$1([
4590
+ __decorate([
4432
4591
  Property(1)
4433
4592
  ], ZoomToolbarSettings.prototype, "borderOpacity", void 0);
4434
- __decorate$1([
4593
+ __decorate([
4435
4594
  Property(1)
4436
4595
  ], ZoomToolbarSettings.prototype, "borderWidth", void 0);
4437
- __decorate$1([
4596
+ __decorate([
4438
4597
  Property('transparent')
4439
4598
  ], ZoomToolbarSettings.prototype, "borderColor", void 0);
4440
- __decorate$1([
4599
+ __decorate([
4441
4600
  Property('Far')
4442
4601
  ], ZoomToolbarSettings.prototype, "horizontalAlignment", void 0);
4443
- __decorate$1([
4602
+ __decorate([
4444
4603
  Property('Near')
4445
4604
  ], ZoomToolbarSettings.prototype, "verticalAlignment", void 0);
4446
- __decorate$1([
4605
+ __decorate([
4447
4606
  Property('Horizontal')
4448
4607
  ], ZoomToolbarSettings.prototype, "orientation", void 0);
4449
- __decorate$1([
4608
+ __decorate([
4450
4609
  Complex({}, ZoomToolbarButtonSettings)
4451
4610
  ], ZoomToolbarSettings.prototype, "buttonSettings", void 0);
4452
- __decorate$1([
4611
+ __decorate([
4453
4612
  Complex({}, ZoomToolbarTooltipSettings)
4454
4613
  ], ZoomToolbarSettings.prototype, "tooltipSettings", void 0);
4455
4614
  return ZoomToolbarSettings;
@@ -4458,17 +4617,17 @@ var ZoomToolbarSettings = /** @__PURE__ @class */ (function (_super) {
4458
4617
  * Gets or sets the options to customize the border of the maps.
4459
4618
  */
4460
4619
  var Border = /** @__PURE__ @class */ (function (_super) {
4461
- __extends$2(Border, _super);
4620
+ __extends$1(Border, _super);
4462
4621
  function Border() {
4463
4622
  return _super !== null && _super.apply(this, arguments) || this;
4464
4623
  }
4465
- __decorate$1([
4624
+ __decorate([
4466
4625
  Property('')
4467
4626
  ], Border.prototype, "color", void 0);
4468
- __decorate$1([
4627
+ __decorate([
4469
4628
  Property(0)
4470
4629
  ], Border.prototype, "width", void 0);
4471
- __decorate$1([
4630
+ __decorate([
4472
4631
  Property(null)
4473
4632
  ], Border.prototype, "opacity", void 0);
4474
4633
  return Border;
@@ -4477,14 +4636,14 @@ var Border = /** @__PURE__ @class */ (function (_super) {
4477
4636
  * Gets or sets the values to change the center position of the maps.
4478
4637
  */
4479
4638
  var CenterPosition = /** @__PURE__ @class */ (function (_super) {
4480
- __extends$2(CenterPosition, _super);
4639
+ __extends$1(CenterPosition, _super);
4481
4640
  function CenterPosition() {
4482
4641
  return _super !== null && _super.apply(this, arguments) || this;
4483
4642
  }
4484
- __decorate$1([
4643
+ __decorate([
4485
4644
  Property(null)
4486
4645
  ], CenterPosition.prototype, "latitude", void 0);
4487
- __decorate$1([
4646
+ __decorate([
4488
4647
  Property(null)
4489
4648
  ], CenterPosition.prototype, "longitude", void 0);
4490
4649
  return CenterPosition;
@@ -4493,32 +4652,32 @@ var CenterPosition = /** @__PURE__ @class */ (function (_super) {
4493
4652
  * Gets or sets the options to customize the tooltip of layers, markers, and bubble in maps.
4494
4653
  */
4495
4654
  var TooltipSettings = /** @__PURE__ @class */ (function (_super) {
4496
- __extends$2(TooltipSettings, _super);
4655
+ __extends$1(TooltipSettings, _super);
4497
4656
  function TooltipSettings() {
4498
4657
  return _super !== null && _super.apply(this, arguments) || this;
4499
4658
  }
4500
- __decorate$1([
4659
+ __decorate([
4501
4660
  Property(false)
4502
4661
  ], TooltipSettings.prototype, "visible", void 0);
4503
- __decorate$1([
4662
+ __decorate([
4504
4663
  Property('')
4505
4664
  ], TooltipSettings.prototype, "template", void 0);
4506
- __decorate$1([
4665
+ __decorate([
4507
4666
  Property('')
4508
4667
  ], TooltipSettings.prototype, "fill", void 0);
4509
- __decorate$1([
4510
- Complex({ color: 'transparent', width: 1 }, Border)
4668
+ __decorate([
4669
+ Complex({ color: null, width: 1 }, Border)
4511
4670
  ], TooltipSettings.prototype, "border", void 0);
4512
- __decorate$1([
4671
+ __decorate([
4513
4672
  Complex({ fontFamily: null, size: null, fontWeight: null }, Font)
4514
4673
  ], TooltipSettings.prototype, "textStyle", void 0);
4515
- __decorate$1([
4674
+ __decorate([
4516
4675
  Property(null)
4517
4676
  ], TooltipSettings.prototype, "format", void 0);
4518
- __decorate$1([
4677
+ __decorate([
4519
4678
  Property(null)
4520
4679
  ], TooltipSettings.prototype, "valuePath", void 0);
4521
- __decorate$1([
4680
+ __decorate([
4522
4681
  Property(2000)
4523
4682
  ], TooltipSettings.prototype, "duration", void 0);
4524
4683
  return TooltipSettings;
@@ -4527,23 +4686,23 @@ var TooltipSettings = /** @__PURE__ @class */ (function (_super) {
4527
4686
  * Specifies the properties such as visibility, fill, border and text style to customize the tooltip.
4528
4687
  */
4529
4688
  var PolygonTooltipSettings = /** @__PURE__ @class */ (function (_super) {
4530
- __extends$2(PolygonTooltipSettings, _super);
4689
+ __extends$1(PolygonTooltipSettings, _super);
4531
4690
  function PolygonTooltipSettings() {
4532
4691
  return _super !== null && _super.apply(this, arguments) || this;
4533
4692
  }
4534
- __decorate$1([
4693
+ __decorate([
4535
4694
  Property(false)
4536
4695
  ], PolygonTooltipSettings.prototype, "visible", void 0);
4537
- __decorate$1([
4696
+ __decorate([
4538
4697
  Property('')
4539
4698
  ], PolygonTooltipSettings.prototype, "fill", void 0);
4540
- __decorate$1([
4541
- Complex({ color: 'transparent', width: 1 }, Border)
4699
+ __decorate([
4700
+ Complex({ color: null, width: 1 }, Border)
4542
4701
  ], PolygonTooltipSettings.prototype, "border", void 0);
4543
- __decorate$1([
4702
+ __decorate([
4544
4703
  Complex({ fontFamily: null, size: null, fontWeight: null }, Font)
4545
4704
  ], PolygonTooltipSettings.prototype, "textStyle", void 0);
4546
- __decorate$1([
4705
+ __decorate([
4547
4706
  Property(2000)
4548
4707
  ], PolygonTooltipSettings.prototype, "duration", void 0);
4549
4708
  return PolygonTooltipSettings;
@@ -4552,20 +4711,20 @@ var PolygonTooltipSettings = /** @__PURE__ @class */ (function (_super) {
4552
4711
  * Gets or sets the options to customize the margin of the maps.
4553
4712
  */
4554
4713
  var Margin = /** @__PURE__ @class */ (function (_super) {
4555
- __extends$2(Margin, _super);
4714
+ __extends$1(Margin, _super);
4556
4715
  function Margin() {
4557
4716
  return _super !== null && _super.apply(this, arguments) || this;
4558
4717
  }
4559
- __decorate$1([
4718
+ __decorate([
4560
4719
  Property(10)
4561
4720
  ], Margin.prototype, "left", void 0);
4562
- __decorate$1([
4721
+ __decorate([
4563
4722
  Property(10)
4564
4723
  ], Margin.prototype, "right", void 0);
4565
- __decorate$1([
4724
+ __decorate([
4566
4725
  Property(10)
4567
4726
  ], Margin.prototype, "top", void 0);
4568
- __decorate$1([
4727
+ __decorate([
4569
4728
  Property(10)
4570
4729
  ], Margin.prototype, "bottom", void 0);
4571
4730
  return Margin;
@@ -4574,17 +4733,17 @@ var Margin = /** @__PURE__ @class */ (function (_super) {
4574
4733
  * Gets or sets the options to customize the lines that connect the markers in marker cluster of the maps.
4575
4734
  */
4576
4735
  var ConnectorLineSettings = /** @__PURE__ @class */ (function (_super) {
4577
- __extends$2(ConnectorLineSettings, _super);
4736
+ __extends$1(ConnectorLineSettings, _super);
4578
4737
  function ConnectorLineSettings() {
4579
4738
  return _super !== null && _super.apply(this, arguments) || this;
4580
4739
  }
4581
- __decorate$1([
4740
+ __decorate([
4582
4741
  Property('#000000')
4583
4742
  ], ConnectorLineSettings.prototype, "color", void 0);
4584
- __decorate$1([
4743
+ __decorate([
4585
4744
  Property(1)
4586
4745
  ], ConnectorLineSettings.prototype, "width", void 0);
4587
- __decorate$1([
4746
+ __decorate([
4588
4747
  Property(1)
4589
4748
  ], ConnectorLineSettings.prototype, "opacity", void 0);
4590
4749
  return ConnectorLineSettings;
@@ -4593,50 +4752,50 @@ var ConnectorLineSettings = /** @__PURE__ @class */ (function (_super) {
4593
4752
  * Gets or sets the options to customize the cluster of markers in maps.
4594
4753
  */
4595
4754
  var MarkerClusterSettings = /** @__PURE__ @class */ (function (_super) {
4596
- __extends$2(MarkerClusterSettings, _super);
4755
+ __extends$1(MarkerClusterSettings, _super);
4597
4756
  function MarkerClusterSettings() {
4598
4757
  return _super !== null && _super.apply(this, arguments) || this;
4599
4758
  }
4600
- __decorate$1([
4759
+ __decorate([
4601
4760
  Property(false)
4602
4761
  ], MarkerClusterSettings.prototype, "allowClustering", void 0);
4603
- __decorate$1([
4762
+ __decorate([
4604
4763
  Property(true)
4605
4764
  ], MarkerClusterSettings.prototype, "allowDeepClustering", void 0);
4606
- __decorate$1([
4765
+ __decorate([
4607
4766
  Complex({ color: 'transparent', width: 1 }, Border)
4608
4767
  ], MarkerClusterSettings.prototype, "border", void 0);
4609
- __decorate$1([
4768
+ __decorate([
4610
4769
  Property('#D2691E')
4611
4770
  ], MarkerClusterSettings.prototype, "fill", void 0);
4612
- __decorate$1([
4771
+ __decorate([
4613
4772
  Property(1)
4614
4773
  ], MarkerClusterSettings.prototype, "opacity", void 0);
4615
- __decorate$1([
4774
+ __decorate([
4616
4775
  Property('Rectangle')
4617
4776
  ], MarkerClusterSettings.prototype, "shape", void 0);
4618
- __decorate$1([
4777
+ __decorate([
4619
4778
  Property(12)
4620
4779
  ], MarkerClusterSettings.prototype, "width", void 0);
4621
- __decorate$1([
4780
+ __decorate([
4622
4781
  Property(12)
4623
4782
  ], MarkerClusterSettings.prototype, "height", void 0);
4624
- __decorate$1([
4783
+ __decorate([
4625
4784
  Property(new Point(0, 0))
4626
4785
  ], MarkerClusterSettings.prototype, "offset", void 0);
4627
- __decorate$1([
4786
+ __decorate([
4628
4787
  Property('')
4629
4788
  ], MarkerClusterSettings.prototype, "imageUrl", void 0);
4630
- __decorate$1([
4789
+ __decorate([
4631
4790
  Property('')
4632
4791
  ], MarkerClusterSettings.prototype, "dashArray", void 0);
4633
- __decorate$1([
4792
+ __decorate([
4634
4793
  Complex({}, Font)
4635
4794
  ], MarkerClusterSettings.prototype, "labelStyle", void 0);
4636
- __decorate$1([
4795
+ __decorate([
4637
4796
  Property(false)
4638
4797
  ], MarkerClusterSettings.prototype, "allowClusterExpand", void 0);
4639
- __decorate$1([
4798
+ __decorate([
4640
4799
  Complex({}, ConnectorLineSettings)
4641
4800
  ], MarkerClusterSettings.prototype, "connectorLineSettings", void 0);
4642
4801
  return MarkerClusterSettings;
@@ -4645,7 +4804,7 @@ var MarkerClusterSettings = /** @__PURE__ @class */ (function (_super) {
4645
4804
  * Gets or sets the data in the marker cluster.
4646
4805
  */
4647
4806
  var MarkerClusterData = /** @__PURE__ @class */ (function (_super) {
4648
- __extends$2(MarkerClusterData, _super);
4807
+ __extends$1(MarkerClusterData, _super);
4649
4808
  function MarkerClusterData() {
4650
4809
  return _super !== null && _super.apply(this, arguments) || this;
4651
4810
  }
@@ -4655,32 +4814,32 @@ var MarkerClusterData = /** @__PURE__ @class */ (function (_super) {
4655
4814
  * Gets or sets the options to customize the color-mapping in maps.
4656
4815
  */
4657
4816
  var ColorMappingSettings = /** @__PURE__ @class */ (function (_super) {
4658
- __extends$2(ColorMappingSettings, _super);
4817
+ __extends$1(ColorMappingSettings, _super);
4659
4818
  function ColorMappingSettings() {
4660
4819
  return _super !== null && _super.apply(this, arguments) || this;
4661
4820
  }
4662
- __decorate$1([
4821
+ __decorate([
4663
4822
  Property(null)
4664
4823
  ], ColorMappingSettings.prototype, "from", void 0);
4665
- __decorate$1([
4824
+ __decorate([
4666
4825
  Property(null)
4667
4826
  ], ColorMappingSettings.prototype, "to", void 0);
4668
- __decorate$1([
4827
+ __decorate([
4669
4828
  Property(null)
4670
4829
  ], ColorMappingSettings.prototype, "value", void 0);
4671
- __decorate$1([
4830
+ __decorate([
4672
4831
  Property(null)
4673
4832
  ], ColorMappingSettings.prototype, "color", void 0);
4674
- __decorate$1([
4833
+ __decorate([
4675
4834
  Property(null)
4676
4835
  ], ColorMappingSettings.prototype, "minOpacity", void 0);
4677
- __decorate$1([
4836
+ __decorate([
4678
4837
  Property(null)
4679
4838
  ], ColorMappingSettings.prototype, "maxOpacity", void 0);
4680
- __decorate$1([
4839
+ __decorate([
4681
4840
  Property(null)
4682
4841
  ], ColorMappingSettings.prototype, "label", void 0);
4683
- __decorate$1([
4842
+ __decorate([
4684
4843
  Property(true)
4685
4844
  ], ColorMappingSettings.prototype, "showLegend", void 0);
4686
4845
  return ColorMappingSettings;
@@ -4690,14 +4849,14 @@ var ColorMappingSettings = /** @__PURE__ @class */ (function (_super) {
4690
4849
  * The initial selection of the markers will work only when the selection settings of marker is enabled.
4691
4850
  */
4692
4851
  var InitialMarkerSelectionSettings = /** @__PURE__ @class */ (function (_super) {
4693
- __extends$2(InitialMarkerSelectionSettings, _super);
4852
+ __extends$1(InitialMarkerSelectionSettings, _super);
4694
4853
  function InitialMarkerSelectionSettings() {
4695
4854
  return _super !== null && _super.apply(this, arguments) || this;
4696
4855
  }
4697
- __decorate$1([
4856
+ __decorate([
4698
4857
  Property(null)
4699
4858
  ], InitialMarkerSelectionSettings.prototype, "latitude", void 0);
4700
- __decorate$1([
4859
+ __decorate([
4701
4860
  Property(null)
4702
4861
  ], InitialMarkerSelectionSettings.prototype, "longitude", void 0);
4703
4862
  return InitialMarkerSelectionSettings;
@@ -4707,14 +4866,14 @@ var InitialMarkerSelectionSettings = /** @__PURE__ @class */ (function (_super)
4707
4866
  * The initial selection of the shapes will work only when the selection settings of layer is enabled.
4708
4867
  */
4709
4868
  var InitialShapeSelectionSettings = /** @__PURE__ @class */ (function (_super) {
4710
- __extends$2(InitialShapeSelectionSettings, _super);
4869
+ __extends$1(InitialShapeSelectionSettings, _super);
4711
4870
  function InitialShapeSelectionSettings() {
4712
4871
  return _super !== null && _super.apply(this, arguments) || this;
4713
4872
  }
4714
- __decorate$1([
4873
+ __decorate([
4715
4874
  Property(null)
4716
4875
  ], InitialShapeSelectionSettings.prototype, "shapePath", void 0);
4717
- __decorate$1([
4876
+ __decorate([
4718
4877
  Property(null)
4719
4878
  ], InitialShapeSelectionSettings.prototype, "shapeValue", void 0);
4720
4879
  return InitialShapeSelectionSettings;
@@ -4723,23 +4882,23 @@ var InitialShapeSelectionSettings = /** @__PURE__ @class */ (function (_super) {
4723
4882
  * Gets or sets the options to customize the maps on selecting the shapes.
4724
4883
  */
4725
4884
  var SelectionSettings = /** @__PURE__ @class */ (function (_super) {
4726
- __extends$2(SelectionSettings, _super);
4885
+ __extends$1(SelectionSettings, _super);
4727
4886
  function SelectionSettings() {
4728
4887
  return _super !== null && _super.apply(this, arguments) || this;
4729
4888
  }
4730
- __decorate$1([
4889
+ __decorate([
4731
4890
  Property(false)
4732
4891
  ], SelectionSettings.prototype, "enable", void 0);
4733
- __decorate$1([
4892
+ __decorate([
4734
4893
  Property(null)
4735
4894
  ], SelectionSettings.prototype, "fill", void 0);
4736
- __decorate$1([
4895
+ __decorate([
4737
4896
  Property(1)
4738
4897
  ], SelectionSettings.prototype, "opacity", void 0);
4739
- __decorate$1([
4898
+ __decorate([
4740
4899
  Property(false)
4741
4900
  ], SelectionSettings.prototype, "enableMultiSelect", void 0);
4742
- __decorate$1([
4901
+ __decorate([
4743
4902
  Complex({ color: 'transparent', width: 0 }, Border)
4744
4903
  ], SelectionSettings.prototype, "border", void 0);
4745
4904
  return SelectionSettings;
@@ -4748,20 +4907,20 @@ var SelectionSettings = /** @__PURE__ @class */ (function (_super) {
4748
4907
  * Gets or sets the options to customize the shapes on which the mouse has hovered in maps.
4749
4908
  */
4750
4909
  var HighlightSettings = /** @__PURE__ @class */ (function (_super) {
4751
- __extends$2(HighlightSettings, _super);
4910
+ __extends$1(HighlightSettings, _super);
4752
4911
  function HighlightSettings() {
4753
4912
  return _super !== null && _super.apply(this, arguments) || this;
4754
4913
  }
4755
- __decorate$1([
4914
+ __decorate([
4756
4915
  Property(null)
4757
4916
  ], HighlightSettings.prototype, "fill", void 0);
4758
- __decorate$1([
4917
+ __decorate([
4759
4918
  Property(false)
4760
4919
  ], HighlightSettings.prototype, "enable", void 0);
4761
- __decorate$1([
4920
+ __decorate([
4762
4921
  Property(1)
4763
4922
  ], HighlightSettings.prototype, "opacity", void 0);
4764
- __decorate$1([
4923
+ __decorate([
4765
4924
  Complex({ color: 'transparent', width: 0 }, Border)
4766
4925
  ], HighlightSettings.prototype, "border", void 0);
4767
4926
  return HighlightSettings;
@@ -4770,32 +4929,32 @@ var HighlightSettings = /** @__PURE__ @class */ (function (_super) {
4770
4929
  * Defines the properties for a single polygon shape to render over the Maps, such as coordinates, fill, border, and opacity.
4771
4930
  */
4772
4931
  var PolygonSetting = /** @__PURE__ @class */ (function (_super) {
4773
- __extends$2(PolygonSetting, _super);
4932
+ __extends$1(PolygonSetting, _super);
4774
4933
  function PolygonSetting() {
4775
4934
  return _super !== null && _super.apply(this, arguments) || this;
4776
4935
  }
4777
- __decorate$1([
4936
+ __decorate([
4778
4937
  Property(1)
4779
4938
  ], PolygonSetting.prototype, "borderWidth", void 0);
4780
- __decorate$1([
4939
+ __decorate([
4781
4940
  Property(1)
4782
4941
  ], PolygonSetting.prototype, "borderOpacity", void 0);
4783
- __decorate$1([
4942
+ __decorate([
4784
4943
  Property(1)
4785
4944
  ], PolygonSetting.prototype, "opacity", void 0);
4786
- __decorate$1([
4945
+ __decorate([
4787
4946
  Property('#FF471A')
4788
4947
  ], PolygonSetting.prototype, "borderColor", void 0);
4789
- __decorate$1([
4948
+ __decorate([
4790
4949
  Property('#FF471A')
4791
4950
  ], PolygonSetting.prototype, "fill", void 0);
4792
- __decorate$1([
4951
+ __decorate([
4793
4952
  Property([])
4794
4953
  ], PolygonSetting.prototype, "points", void 0);
4795
- __decorate$1([
4954
+ __decorate([
4796
4955
  Property('')
4797
4956
  ], PolygonSetting.prototype, "tooltipText", void 0);
4798
- __decorate$1([
4957
+ __decorate([
4799
4958
  Property('')
4800
4959
  ], PolygonSetting.prototype, "tooltipTemplate", void 0);
4801
4960
  return PolygonSetting;
@@ -4805,20 +4964,20 @@ var PolygonSetting = /** @__PURE__ @class */ (function (_super) {
4805
4964
  * The selection and highlight settings for polygon shapes can also be defined.
4806
4965
  */
4807
4966
  var PolygonSettings = /** @__PURE__ @class */ (function (_super) {
4808
- __extends$2(PolygonSettings, _super);
4967
+ __extends$1(PolygonSettings, _super);
4809
4968
  function PolygonSettings() {
4810
4969
  return _super !== null && _super.apply(this, arguments) || this;
4811
4970
  }
4812
- __decorate$1([
4971
+ __decorate([
4813
4972
  Collection([], PolygonSetting)
4814
4973
  ], PolygonSettings.prototype, "polygons", void 0);
4815
- __decorate$1([
4974
+ __decorate([
4816
4975
  Complex({}, SelectionSettings)
4817
4976
  ], PolygonSettings.prototype, "selectionSettings", void 0);
4818
- __decorate$1([
4977
+ __decorate([
4819
4978
  Complex({}, HighlightSettings)
4820
4979
  ], PolygonSettings.prototype, "highlightSettings", void 0);
4821
- __decorate$1([
4980
+ __decorate([
4822
4981
  Complex({}, PolygonTooltipSettings)
4823
4982
  ], PolygonSettings.prototype, "tooltipSettings", void 0);
4824
4983
  return PolygonSettings;
@@ -4827,38 +4986,38 @@ var PolygonSettings = /** @__PURE__ @class */ (function (_super) {
4827
4986
  * Gets or sets the options to customize the navigation lines in maps which is used to connect different locations.
4828
4987
  */
4829
4988
  var NavigationLineSettings = /** @__PURE__ @class */ (function (_super) {
4830
- __extends$2(NavigationLineSettings, _super);
4989
+ __extends$1(NavigationLineSettings, _super);
4831
4990
  function NavigationLineSettings() {
4832
4991
  return _super !== null && _super.apply(this, arguments) || this;
4833
4992
  }
4834
- __decorate$1([
4993
+ __decorate([
4835
4994
  Property(false)
4836
4995
  ], NavigationLineSettings.prototype, "visible", void 0);
4837
- __decorate$1([
4996
+ __decorate([
4838
4997
  Property(1)
4839
4998
  ], NavigationLineSettings.prototype, "width", void 0);
4840
- __decorate$1([
4999
+ __decorate([
4841
5000
  Property(null)
4842
5001
  ], NavigationLineSettings.prototype, "longitude", void 0);
4843
- __decorate$1([
5002
+ __decorate([
4844
5003
  Property(null)
4845
5004
  ], NavigationLineSettings.prototype, "latitude", void 0);
4846
- __decorate$1([
5005
+ __decorate([
4847
5006
  Property('')
4848
5007
  ], NavigationLineSettings.prototype, "dashArray", void 0);
4849
- __decorate$1([
5008
+ __decorate([
4850
5009
  Property('black')
4851
5010
  ], NavigationLineSettings.prototype, "color", void 0);
4852
- __decorate$1([
5011
+ __decorate([
4853
5012
  Property(0)
4854
5013
  ], NavigationLineSettings.prototype, "angle", void 0);
4855
- __decorate$1([
5014
+ __decorate([
4856
5015
  Complex({ showArrow: false, position: 'Start', size: 5, color: 'black' }, Arrow)
4857
5016
  ], NavigationLineSettings.prototype, "arrowSettings", void 0);
4858
- __decorate$1([
5017
+ __decorate([
4859
5018
  Complex({}, SelectionSettings)
4860
5019
  ], NavigationLineSettings.prototype, "selectionSettings", void 0);
4861
- __decorate$1([
5020
+ __decorate([
4862
5021
  Complex({}, HighlightSettings)
4863
5022
  ], NavigationLineSettings.prototype, "highlightSettings", void 0);
4864
5023
  return NavigationLineSettings;
@@ -4867,59 +5026,59 @@ var NavigationLineSettings = /** @__PURE__ @class */ (function (_super) {
4867
5026
  * Gets or sets the options to customize the bubble elements in the maps.
4868
5027
  */
4869
5028
  var BubbleSettings = /** @__PURE__ @class */ (function (_super) {
4870
- __extends$2(BubbleSettings, _super);
5029
+ __extends$1(BubbleSettings, _super);
4871
5030
  function BubbleSettings() {
4872
5031
  return _super !== null && _super.apply(this, arguments) || this;
4873
5032
  }
4874
- __decorate$1([
5033
+ __decorate([
4875
5034
  Complex({}, Border)
4876
5035
  ], BubbleSettings.prototype, "border", void 0);
4877
- __decorate$1([
5036
+ __decorate([
4878
5037
  Property(false)
4879
5038
  ], BubbleSettings.prototype, "visible", void 0);
4880
- __decorate$1([
5039
+ __decorate([
4881
5040
  Property([])
4882
5041
  ], BubbleSettings.prototype, "dataSource", void 0);
4883
- __decorate$1([
5042
+ __decorate([
4884
5043
  Property()
4885
5044
  ], BubbleSettings.prototype, "query", void 0);
4886
- __decorate$1([
5045
+ __decorate([
4887
5046
  Property(1000)
4888
5047
  ], BubbleSettings.prototype, "animationDuration", void 0);
4889
- __decorate$1([
5048
+ __decorate([
4890
5049
  Property(0)
4891
5050
  ], BubbleSettings.prototype, "animationDelay", void 0);
4892
- __decorate$1([
5051
+ __decorate([
4893
5052
  Property('')
4894
5053
  ], BubbleSettings.prototype, "fill", void 0);
4895
- __decorate$1([
5054
+ __decorate([
4896
5055
  Property(10)
4897
5056
  ], BubbleSettings.prototype, "minRadius", void 0);
4898
- __decorate$1([
5057
+ __decorate([
4899
5058
  Property(20)
4900
5059
  ], BubbleSettings.prototype, "maxRadius", void 0);
4901
- __decorate$1([
5060
+ __decorate([
4902
5061
  Property(1)
4903
5062
  ], BubbleSettings.prototype, "opacity", void 0);
4904
- __decorate$1([
5063
+ __decorate([
4905
5064
  Property(null)
4906
5065
  ], BubbleSettings.prototype, "valuePath", void 0);
4907
- __decorate$1([
5066
+ __decorate([
4908
5067
  Property('Circle')
4909
5068
  ], BubbleSettings.prototype, "bubbleType", void 0);
4910
- __decorate$1([
5069
+ __decorate([
4911
5070
  Property(null)
4912
5071
  ], BubbleSettings.prototype, "colorValuePath", void 0);
4913
- __decorate$1([
5072
+ __decorate([
4914
5073
  Collection([], ColorMappingSettings)
4915
5074
  ], BubbleSettings.prototype, "colorMapping", void 0);
4916
- __decorate$1([
5075
+ __decorate([
4917
5076
  Complex({}, TooltipSettings)
4918
5077
  ], BubbleSettings.prototype, "tooltipSettings", void 0);
4919
- __decorate$1([
5078
+ __decorate([
4920
5079
  Complex({}, SelectionSettings)
4921
5080
  ], BubbleSettings.prototype, "selectionSettings", void 0);
4922
- __decorate$1([
5081
+ __decorate([
4923
5082
  Complex({}, HighlightSettings)
4924
5083
  ], BubbleSettings.prototype, "highlightSettings", void 0);
4925
5084
  return BubbleSettings;
@@ -4928,14 +5087,14 @@ var BubbleSettings = /** @__PURE__ @class */ (function (_super) {
4928
5087
  * Gets or sets the options to customize the title of the maps.
4929
5088
  */
4930
5089
  var CommonTitleSettings = /** @__PURE__ @class */ (function (_super) {
4931
- __extends$2(CommonTitleSettings, _super);
5090
+ __extends$1(CommonTitleSettings, _super);
4932
5091
  function CommonTitleSettings() {
4933
5092
  return _super !== null && _super.apply(this, arguments) || this;
4934
5093
  }
4935
- __decorate$1([
5094
+ __decorate([
4936
5095
  Property('')
4937
5096
  ], CommonTitleSettings.prototype, "text", void 0);
4938
- __decorate$1([
5097
+ __decorate([
4939
5098
  Property('')
4940
5099
  ], CommonTitleSettings.prototype, "description", void 0);
4941
5100
  return CommonTitleSettings;
@@ -4944,14 +5103,14 @@ var CommonTitleSettings = /** @__PURE__ @class */ (function (_super) {
4944
5103
  * Gets or sets the options to customize the subtitle of the maps.
4945
5104
  */
4946
5105
  var SubTitleSettings = /** @__PURE__ @class */ (function (_super) {
4947
- __extends$2(SubTitleSettings, _super);
5106
+ __extends$1(SubTitleSettings, _super);
4948
5107
  function SubTitleSettings() {
4949
5108
  return _super !== null && _super.apply(this, arguments) || this;
4950
5109
  }
4951
- __decorate$1([
5110
+ __decorate([
4952
5111
  Complex({ size: null, fontWeight: null, fontFamily: null }, Font)
4953
5112
  ], SubTitleSettings.prototype, "textStyle", void 0);
4954
- __decorate$1([
5113
+ __decorate([
4955
5114
  Property('Center')
4956
5115
  ], SubTitleSettings.prototype, "alignment", void 0);
4957
5116
  return SubTitleSettings;
@@ -4960,17 +5119,17 @@ var SubTitleSettings = /** @__PURE__ @class */ (function (_super) {
4960
5119
  * Gets or sets the options to customize the title of the maps.
4961
5120
  */
4962
5121
  var TitleSettings = /** @__PURE__ @class */ (function (_super) {
4963
- __extends$2(TitleSettings, _super);
5122
+ __extends$1(TitleSettings, _super);
4964
5123
  function TitleSettings() {
4965
5124
  return _super !== null && _super.apply(this, arguments) || this;
4966
5125
  }
4967
- __decorate$1([
5126
+ __decorate([
4968
5127
  Complex({ size: null, fontWeight: null, fontFamily: null }, Font)
4969
5128
  ], TitleSettings.prototype, "textStyle", void 0);
4970
- __decorate$1([
5129
+ __decorate([
4971
5130
  Property('Center')
4972
5131
  ], TitleSettings.prototype, "alignment", void 0);
4973
- __decorate$1([
5132
+ __decorate([
4974
5133
  Complex({}, SubTitleSettings)
4975
5134
  ], TitleSettings.prototype, "subtitleSettings", void 0);
4976
5135
  return TitleSettings;
@@ -4979,68 +5138,47 @@ var TitleSettings = /** @__PURE__ @class */ (function (_super) {
4979
5138
  * Gets or sets the options to configure maps zooming operations.
4980
5139
  */
4981
5140
  var ZoomSettings = /** @__PURE__ @class */ (function (_super) {
4982
- __extends$2(ZoomSettings, _super);
5141
+ __extends$1(ZoomSettings, _super);
4983
5142
  function ZoomSettings() {
4984
5143
  return _super !== null && _super.apply(this, arguments) || this;
4985
5144
  }
4986
- __decorate$1([
5145
+ __decorate([
4987
5146
  Property(false)
4988
5147
  ], ZoomSettings.prototype, "enable", void 0);
4989
- __decorate$1([
5148
+ __decorate([
4990
5149
  Property(true)
4991
5150
  ], ZoomSettings.prototype, "enablePanning", void 0);
4992
- __decorate$1([
5151
+ __decorate([
4993
5152
  Property(true)
4994
5153
  ], ZoomSettings.prototype, "enableSelectionZooming", void 0);
4995
- __decorate$1([
4996
- Property('Horizontal')
4997
- ], ZoomSettings.prototype, "toolBarOrientation", void 0);
4998
- __decorate$1([
4999
- Property(null)
5000
- ], ZoomSettings.prototype, "color", void 0);
5001
- __decorate$1([
5002
- Property(null)
5003
- ], ZoomSettings.prototype, "highlightColor", void 0);
5004
- __decorate$1([
5005
- Property(null)
5006
- ], ZoomSettings.prototype, "selectionColor", void 0);
5007
- __decorate$1([
5008
- Property('Far')
5009
- ], ZoomSettings.prototype, "horizontalAlignment", void 0);
5010
- __decorate$1([
5011
- Property('Near')
5012
- ], ZoomSettings.prototype, "verticalAlignment", void 0);
5013
- __decorate$1([
5014
- Property(['ZoomIn', 'ZoomOut', 'Reset'])
5015
- ], ZoomSettings.prototype, "toolbars", void 0);
5016
- __decorate$1([
5154
+ __decorate([
5017
5155
  Property(true)
5018
5156
  ], ZoomSettings.prototype, "mouseWheelZoom", void 0);
5019
- __decorate$1([
5157
+ __decorate([
5020
5158
  Property(false)
5021
5159
  ], ZoomSettings.prototype, "doubleClickZoom", void 0);
5022
- __decorate$1([
5160
+ __decorate([
5023
5161
  Property(true)
5024
5162
  ], ZoomSettings.prototype, "pinchZooming", void 0);
5025
- __decorate$1([
5163
+ __decorate([
5026
5164
  Property(false)
5027
5165
  ], ZoomSettings.prototype, "zoomOnClick", void 0);
5028
- __decorate$1([
5166
+ __decorate([
5029
5167
  Property(1)
5030
5168
  ], ZoomSettings.prototype, "zoomFactor", void 0);
5031
- __decorate$1([
5169
+ __decorate([
5032
5170
  Property(10)
5033
5171
  ], ZoomSettings.prototype, "maxZoom", void 0);
5034
- __decorate$1([
5172
+ __decorate([
5035
5173
  Property(1)
5036
5174
  ], ZoomSettings.prototype, "minZoom", void 0);
5037
- __decorate$1([
5175
+ __decorate([
5038
5176
  Property(false)
5039
5177
  ], ZoomSettings.prototype, "shouldZoomInitially", void 0);
5040
- __decorate$1([
5178
+ __decorate([
5041
5179
  Property(true)
5042
5180
  ], ZoomSettings.prototype, "resetToInitial", void 0);
5043
- __decorate$1([
5181
+ __decorate([
5044
5182
  Complex({}, ZoomToolbarSettings)
5045
5183
  ], ZoomSettings.prototype, "toolbarSettings", void 0);
5046
5184
  return ZoomSettings;
@@ -5049,23 +5187,23 @@ var ZoomSettings = /** @__PURE__ @class */ (function (_super) {
5049
5187
  * Gets or sets the settings to customize the color-mapping visibility based on the legend visibility.
5050
5188
  */
5051
5189
  var ToggleLegendSettings = /** @__PURE__ @class */ (function (_super) {
5052
- __extends$2(ToggleLegendSettings, _super);
5190
+ __extends$1(ToggleLegendSettings, _super);
5053
5191
  function ToggleLegendSettings() {
5054
5192
  return _super !== null && _super.apply(this, arguments) || this;
5055
5193
  }
5056
- __decorate$1([
5194
+ __decorate([
5057
5195
  Property(false)
5058
5196
  ], ToggleLegendSettings.prototype, "enable", void 0);
5059
- __decorate$1([
5197
+ __decorate([
5060
5198
  Property(true)
5061
5199
  ], ToggleLegendSettings.prototype, "applyShapeSettings", void 0);
5062
- __decorate$1([
5200
+ __decorate([
5063
5201
  Property(1)
5064
5202
  ], ToggleLegendSettings.prototype, "opacity", void 0);
5065
- __decorate$1([
5203
+ __decorate([
5066
5204
  Property('')
5067
5205
  ], ToggleLegendSettings.prototype, "fill", void 0);
5068
- __decorate$1([
5206
+ __decorate([
5069
5207
  Complex({ color: '', width: 0 }, Border)
5070
5208
  ], ToggleLegendSettings.prototype, "border", void 0);
5071
5209
  return ToggleLegendSettings;
@@ -5074,98 +5212,98 @@ var ToggleLegendSettings = /** @__PURE__ @class */ (function (_super) {
5074
5212
  * Gets or sets the options to customize the legend of the maps.
5075
5213
  */
5076
5214
  var LegendSettings = /** @__PURE__ @class */ (function (_super) {
5077
- __extends$2(LegendSettings, _super);
5215
+ __extends$1(LegendSettings, _super);
5078
5216
  function LegendSettings() {
5079
5217
  return _super !== null && _super.apply(this, arguments) || this;
5080
5218
  }
5081
- __decorate$1([
5219
+ __decorate([
5082
5220
  Property(false)
5083
5221
  ], LegendSettings.prototype, "useMarkerShape", void 0);
5084
- __decorate$1([
5222
+ __decorate([
5085
5223
  Property(false)
5086
5224
  ], LegendSettings.prototype, "toggleVisibility", void 0);
5087
- __decorate$1([
5225
+ __decorate([
5088
5226
  Property(false)
5089
5227
  ], LegendSettings.prototype, "visible", void 0);
5090
- __decorate$1([
5228
+ __decorate([
5091
5229
  Property('transparent')
5092
5230
  ], LegendSettings.prototype, "background", void 0);
5093
- __decorate$1([
5231
+ __decorate([
5094
5232
  Property('Layers')
5095
5233
  ], LegendSettings.prototype, "type", void 0);
5096
- __decorate$1([
5234
+ __decorate([
5097
5235
  Property(false)
5098
5236
  ], LegendSettings.prototype, "invertedPointer", void 0);
5099
- __decorate$1([
5237
+ __decorate([
5100
5238
  Property('After')
5101
5239
  ], LegendSettings.prototype, "labelPosition", void 0);
5102
- __decorate$1([
5240
+ __decorate([
5103
5241
  Property('None')
5104
5242
  ], LegendSettings.prototype, "labelDisplayMode", void 0);
5105
- __decorate$1([
5243
+ __decorate([
5106
5244
  Property('Circle')
5107
5245
  ], LegendSettings.prototype, "shape", void 0);
5108
- __decorate$1([
5246
+ __decorate([
5109
5247
  Property('')
5110
5248
  ], LegendSettings.prototype, "width", void 0);
5111
- __decorate$1([
5249
+ __decorate([
5112
5250
  Property('')
5113
5251
  ], LegendSettings.prototype, "height", void 0);
5114
- __decorate$1([
5252
+ __decorate([
5115
5253
  Complex({ fontFamily: null, fontWeight: null }, Font)
5116
5254
  ], LegendSettings.prototype, "textStyle", void 0);
5117
- __decorate$1([
5255
+ __decorate([
5118
5256
  Property(15)
5119
5257
  ], LegendSettings.prototype, "shapeWidth", void 0);
5120
- __decorate$1([
5258
+ __decorate([
5121
5259
  Property(15)
5122
5260
  ], LegendSettings.prototype, "shapeHeight", void 0);
5123
- __decorate$1([
5261
+ __decorate([
5124
5262
  Property(10)
5125
5263
  ], LegendSettings.prototype, "shapePadding", void 0);
5126
- __decorate$1([
5127
- Complex({ color: '#000000', width: 0 }, Border)
5264
+ __decorate([
5265
+ Complex({ color: null, width: 0 }, Border)
5128
5266
  ], LegendSettings.prototype, "border", void 0);
5129
- __decorate$1([
5267
+ __decorate([
5130
5268
  Complex({ color: '#000000', width: 0 }, Border)
5131
5269
  ], LegendSettings.prototype, "shapeBorder", void 0);
5132
- __decorate$1([
5270
+ __decorate([
5133
5271
  Complex({}, CommonTitleSettings)
5134
5272
  ], LegendSettings.prototype, "title", void 0);
5135
- __decorate$1([
5273
+ __decorate([
5136
5274
  Complex({ size: null, color: Theme.legendTitleFont.color, fontStyle: Theme.legendTitleFont.fontStyle, fontWeight: null, fontFamily: null }, Font)
5137
5275
  ], LegendSettings.prototype, "titleStyle", void 0);
5138
- __decorate$1([
5276
+ __decorate([
5139
5277
  Property('Bottom')
5140
5278
  ], LegendSettings.prototype, "position", void 0);
5141
- __decorate$1([
5279
+ __decorate([
5142
5280
  Property('Center')
5143
5281
  ], LegendSettings.prototype, "alignment", void 0);
5144
- __decorate$1([
5282
+ __decorate([
5145
5283
  Property('None')
5146
5284
  ], LegendSettings.prototype, "orientation", void 0);
5147
- __decorate$1([
5285
+ __decorate([
5148
5286
  Property({ x: 0, y: 0 })
5149
5287
  ], LegendSettings.prototype, "location", void 0);
5150
- __decorate$1([
5288
+ __decorate([
5151
5289
  Property(null)
5152
5290
  ], LegendSettings.prototype, "fill", void 0);
5153
- __decorate$1([
5291
+ __decorate([
5154
5292
  Property(1)
5155
5293
  ], LegendSettings.prototype, "opacity", void 0);
5156
- __decorate$1([
5294
+ __decorate([
5157
5295
  Property('Default')
5158
5296
  ], LegendSettings.prototype, "mode", void 0);
5159
- __decorate$1([
5297
+ __decorate([
5160
5298
  Property(null)
5161
5299
  ], LegendSettings.prototype, "showLegendPath", void 0);
5162
- __decorate$1([
5300
+ __decorate([
5163
5301
  Property(null)
5164
5302
  ], LegendSettings.prototype, "valuePath", void 0);
5165
- __decorate$1([
5303
+ __decorate([
5166
5304
  Property(false)
5167
5305
  ], LegendSettings.prototype, "removeDuplicateLegend", void 0);
5168
- __decorate$1([
5306
+ __decorate([
5169
5307
  Complex({}, ToggleLegendSettings)
5170
5308
  ], LegendSettings.prototype, "toggleLegendSettings", void 0);
5171
5309
  return LegendSettings;
@@ -5174,44 +5312,44 @@ var LegendSettings = /** @__PURE__ @class */ (function (_super) {
5174
5312
  * Gets or sets the options to customize the data labels in maps.
5175
5313
  */
5176
5314
  var DataLabelSettings = /** @__PURE__ @class */ (function (_super) {
5177
- __extends$2(DataLabelSettings, _super);
5315
+ __extends$1(DataLabelSettings, _super);
5178
5316
  function DataLabelSettings() {
5179
5317
  return _super !== null && _super.apply(this, arguments) || this;
5180
5318
  }
5181
- __decorate$1([
5319
+ __decorate([
5182
5320
  Property(false)
5183
5321
  ], DataLabelSettings.prototype, "visible", void 0);
5184
- __decorate$1([
5322
+ __decorate([
5185
5323
  Complex({ width: 0, color: 'transparent' }, Border)
5186
5324
  ], DataLabelSettings.prototype, "border", void 0);
5187
- __decorate$1([
5325
+ __decorate([
5188
5326
  Property('black')
5189
5327
  ], DataLabelSettings.prototype, "fill", void 0);
5190
- __decorate$1([
5328
+ __decorate([
5191
5329
  Property(1)
5192
5330
  ], DataLabelSettings.prototype, "opacity", void 0);
5193
- __decorate$1([
5331
+ __decorate([
5194
5332
  Property(5)
5195
5333
  ], DataLabelSettings.prototype, "rx", void 0);
5196
- __decorate$1([
5334
+ __decorate([
5197
5335
  Property(5)
5198
5336
  ], DataLabelSettings.prototype, "ry", void 0);
5199
- __decorate$1([
5337
+ __decorate([
5200
5338
  Complex({ fontWeight: null }, Font)
5201
5339
  ], DataLabelSettings.prototype, "textStyle", void 0);
5202
- __decorate$1([
5340
+ __decorate([
5203
5341
  Property('')
5204
5342
  ], DataLabelSettings.prototype, "labelPath", void 0);
5205
- __decorate$1([
5343
+ __decorate([
5206
5344
  Property('None')
5207
5345
  ], DataLabelSettings.prototype, "smartLabelMode", void 0);
5208
- __decorate$1([
5346
+ __decorate([
5209
5347
  Property('None')
5210
5348
  ], DataLabelSettings.prototype, "intersectionAction", void 0);
5211
- __decorate$1([
5349
+ __decorate([
5212
5350
  Property('')
5213
5351
  ], DataLabelSettings.prototype, "template", void 0);
5214
- __decorate$1([
5352
+ __decorate([
5215
5353
  Property(0)
5216
5354
  ], DataLabelSettings.prototype, "animationDuration", void 0);
5217
5355
  return DataLabelSettings;
@@ -5220,44 +5358,44 @@ var DataLabelSettings = /** @__PURE__ @class */ (function (_super) {
5220
5358
  * Gets or sets the options to customize the shapes in the maps.
5221
5359
  */
5222
5360
  var ShapeSettings = /** @__PURE__ @class */ (function (_super) {
5223
- __extends$2(ShapeSettings, _super);
5361
+ __extends$1(ShapeSettings, _super);
5224
5362
  function ShapeSettings() {
5225
5363
  return _super !== null && _super.apply(this, arguments) || this;
5226
5364
  }
5227
- __decorate$1([
5365
+ __decorate([
5228
5366
  Property(null)
5229
5367
  ], ShapeSettings.prototype, "fill", void 0);
5230
- __decorate$1([
5368
+ __decorate([
5231
5369
  Property([])
5232
5370
  ], ShapeSettings.prototype, "palette", void 0);
5233
- __decorate$1([
5371
+ __decorate([
5234
5372
  Property(5)
5235
5373
  ], ShapeSettings.prototype, "circleRadius", void 0);
5236
- __decorate$1([
5237
- Complex({ width: null, color: '#000000' }, Border)
5374
+ __decorate([
5375
+ Complex({ width: null, color: null }, Border)
5238
5376
  ], ShapeSettings.prototype, "border", void 0);
5239
- __decorate$1([
5377
+ __decorate([
5240
5378
  Property('')
5241
5379
  ], ShapeSettings.prototype, "dashArray", void 0);
5242
- __decorate$1([
5380
+ __decorate([
5243
5381
  Property(1)
5244
5382
  ], ShapeSettings.prototype, "opacity", void 0);
5245
- __decorate$1([
5383
+ __decorate([
5246
5384
  Property(null)
5247
5385
  ], ShapeSettings.prototype, "colorValuePath", void 0);
5248
- __decorate$1([
5386
+ __decorate([
5249
5387
  Property(null)
5250
5388
  ], ShapeSettings.prototype, "borderColorValuePath", void 0);
5251
- __decorate$1([
5389
+ __decorate([
5252
5390
  Property(null)
5253
5391
  ], ShapeSettings.prototype, "borderWidthValuePath", void 0);
5254
- __decorate$1([
5392
+ __decorate([
5255
5393
  Property(null)
5256
5394
  ], ShapeSettings.prototype, "valuePath", void 0);
5257
- __decorate$1([
5395
+ __decorate([
5258
5396
  Collection([], ColorMappingSettings)
5259
5397
  ], ShapeSettings.prototype, "colorMapping", void 0);
5260
- __decorate$1([
5398
+ __decorate([
5261
5399
  Property(false)
5262
5400
  ], ShapeSettings.prototype, "autofill", void 0);
5263
5401
  return ShapeSettings;
@@ -5266,86 +5404,86 @@ var ShapeSettings = /** @__PURE__ @class */ (function (_super) {
5266
5404
  * Gets or sets the options to customize the markers in the maps.
5267
5405
  */
5268
5406
  var MarkerBase = /** @__PURE__ @class */ (function (_super) {
5269
- __extends$2(MarkerBase, _super);
5407
+ __extends$1(MarkerBase, _super);
5270
5408
  function MarkerBase() {
5271
5409
  return _super !== null && _super.apply(this, arguments) || this;
5272
5410
  }
5273
- __decorate$1([
5411
+ __decorate([
5274
5412
  Complex({ color: 'transparent', width: 1 }, Border)
5275
5413
  ], MarkerBase.prototype, "border", void 0);
5276
- __decorate$1([
5414
+ __decorate([
5277
5415
  Property(null)
5278
5416
  ], MarkerBase.prototype, "dashArray", void 0);
5279
- __decorate$1([
5417
+ __decorate([
5280
5418
  Property(false)
5281
5419
  ], MarkerBase.prototype, "visible", void 0);
5282
- __decorate$1([
5420
+ __decorate([
5283
5421
  Property(false)
5284
5422
  ], MarkerBase.prototype, "enableDrag", void 0);
5285
- __decorate$1([
5423
+ __decorate([
5286
5424
  Property('#FF471A')
5287
5425
  ], MarkerBase.prototype, "fill", void 0);
5288
- __decorate$1([
5426
+ __decorate([
5289
5427
  Property(10)
5290
5428
  ], MarkerBase.prototype, "height", void 0);
5291
- __decorate$1([
5429
+ __decorate([
5292
5430
  Property(10)
5293
5431
  ], MarkerBase.prototype, "width", void 0);
5294
- __decorate$1([
5432
+ __decorate([
5295
5433
  Property(1)
5296
5434
  ], MarkerBase.prototype, "opacity", void 0);
5297
- __decorate$1([
5435
+ __decorate([
5298
5436
  Property(null)
5299
5437
  ], MarkerBase.prototype, "colorValuePath", void 0);
5300
- __decorate$1([
5438
+ __decorate([
5301
5439
  Property(null)
5302
5440
  ], MarkerBase.prototype, "shapeValuePath", void 0);
5303
- __decorate$1([
5441
+ __decorate([
5304
5442
  Property(null)
5305
5443
  ], MarkerBase.prototype, "imageUrlValuePath", void 0);
5306
- __decorate$1([
5444
+ __decorate([
5307
5445
  Property('Balloon')
5308
5446
  ], MarkerBase.prototype, "shape", void 0);
5309
- __decorate$1([
5447
+ __decorate([
5310
5448
  Property('')
5311
5449
  ], MarkerBase.prototype, "legendText", void 0);
5312
- __decorate$1([
5450
+ __decorate([
5313
5451
  Property(new Point(0, 0))
5314
5452
  ], MarkerBase.prototype, "offset", void 0);
5315
- __decorate$1([
5453
+ __decorate([
5316
5454
  Property('')
5317
5455
  ], MarkerBase.prototype, "imageUrl", void 0);
5318
- __decorate$1([
5456
+ __decorate([
5319
5457
  Property(null)
5320
5458
  ], MarkerBase.prototype, "template", void 0);
5321
- __decorate$1([
5459
+ __decorate([
5322
5460
  Property([])
5323
5461
  ], MarkerBase.prototype, "dataSource", void 0);
5324
- __decorate$1([
5462
+ __decorate([
5325
5463
  Property()
5326
5464
  ], MarkerBase.prototype, "query", void 0);
5327
- __decorate$1([
5465
+ __decorate([
5328
5466
  Complex({}, TooltipSettings)
5329
5467
  ], MarkerBase.prototype, "tooltipSettings", void 0);
5330
- __decorate$1([
5468
+ __decorate([
5331
5469
  Property(1000)
5332
5470
  ], MarkerBase.prototype, "animationDuration", void 0);
5333
- __decorate$1([
5471
+ __decorate([
5334
5472
  Property(0)
5335
5473
  ], MarkerBase.prototype, "animationDelay", void 0);
5336
- __decorate$1([
5474
+ __decorate([
5337
5475
  Complex({}, SelectionSettings)
5338
5476
  ], MarkerBase.prototype, "selectionSettings", void 0);
5339
- __decorate$1([
5477
+ __decorate([
5340
5478
  Complex({}, HighlightSettings)
5341
5479
  ], MarkerBase.prototype, "highlightSettings", void 0);
5342
- __decorate$1([
5480
+ __decorate([
5343
5481
  Property(null)
5344
5482
  ], MarkerBase.prototype, "latitudeValuePath", void 0);
5345
- __decorate$1([
5483
+ __decorate([
5346
5484
  Property(null)
5347
5485
  ], MarkerBase.prototype, "longitudeValuePath", void 0);
5348
- __decorate$1([
5486
+ __decorate([
5349
5487
  Collection([], InitialMarkerSelectionSettings)
5350
5488
  ], MarkerBase.prototype, "initialMarkerSelection", void 0);
5351
5489
  return MarkerBase;
@@ -5354,7 +5492,7 @@ var MarkerBase = /** @__PURE__ @class */ (function (_super) {
5354
5492
  * Gets or sets the options to customize the markers in the maps.
5355
5493
  */
5356
5494
  var MarkerSettings = /** @__PURE__ @class */ (function (_super) {
5357
- __extends$2(MarkerSettings, _super);
5495
+ __extends$1(MarkerSettings, _super);
5358
5496
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5359
5497
  function MarkerSettings(parent, propName, defaultValue, isArray) {
5360
5498
  return _super.call(this, parent, propName, defaultValue, isArray) || this;
@@ -5365,7 +5503,7 @@ var MarkerSettings = /** @__PURE__ @class */ (function (_super) {
5365
5503
  * Gets or sets the options to customize the layers of the maps.
5366
5504
  */
5367
5505
  var LayerSettings = /** @__PURE__ @class */ (function (_super) {
5368
- __extends$2(LayerSettings, _super);
5506
+ __extends$1(LayerSettings, _super);
5369
5507
  function LayerSettings() {
5370
5508
  var _this = _super !== null && _super.apply(this, arguments) || this;
5371
5509
  /**
@@ -5374,82 +5512,70 @@ var LayerSettings = /** @__PURE__ @class */ (function (_super) {
5374
5512
  _this.isBaseLayer = false;
5375
5513
  return _this;
5376
5514
  }
5377
- __decorate$1([
5515
+ __decorate([
5378
5516
  Property(null)
5379
5517
  ], LayerSettings.prototype, "shapeData", void 0);
5380
- __decorate$1([
5518
+ __decorate([
5381
5519
  Property()
5382
5520
  ], LayerSettings.prototype, "query", void 0);
5383
- __decorate$1([
5521
+ __decorate([
5384
5522
  Complex({}, ShapeSettings)
5385
5523
  ], LayerSettings.prototype, "shapeSettings", void 0);
5386
- __decorate$1([
5524
+ __decorate([
5387
5525
  Property([])
5388
5526
  ], LayerSettings.prototype, "dataSource", void 0);
5389
- __decorate$1([
5527
+ __decorate([
5390
5528
  Property('Layer')
5391
5529
  ], LayerSettings.prototype, "type", void 0);
5392
- __decorate$1([
5530
+ __decorate([
5393
5531
  Property('Geographic')
5394
5532
  ], LayerSettings.prototype, "geometryType", void 0);
5395
- __decorate$1([
5396
- Property('Aerial')
5397
- ], LayerSettings.prototype, "bingMapType", void 0);
5398
- __decorate$1([
5399
- Property('RoadMap')
5400
- ], LayerSettings.prototype, "staticMapType", void 0);
5401
- __decorate$1([
5402
- Property('')
5403
- ], LayerSettings.prototype, "key", void 0);
5404
- __decorate$1([
5405
- Property('Geometry')
5406
- ], LayerSettings.prototype, "layerType", void 0);
5407
- __decorate$1([
5533
+ __decorate([
5408
5534
  Property('')
5409
5535
  ], LayerSettings.prototype, "urlTemplate", void 0);
5410
- __decorate$1([
5536
+ __decorate([
5411
5537
  Property(true)
5412
5538
  ], LayerSettings.prototype, "visible", void 0);
5413
- __decorate$1([
5539
+ __decorate([
5414
5540
  Property('name')
5415
5541
  ], LayerSettings.prototype, "shapeDataPath", void 0);
5416
- __decorate$1([
5542
+ __decorate([
5417
5543
  Property('name')
5418
5544
  ], LayerSettings.prototype, "shapePropertyPath", void 0);
5419
- __decorate$1([
5545
+ __decorate([
5420
5546
  Property(0)
5421
5547
  ], LayerSettings.prototype, "animationDuration", void 0);
5422
- __decorate$1([
5548
+ __decorate([
5423
5549
  Collection([], MarkerSettings)
5424
5550
  ], LayerSettings.prototype, "markerSettings", void 0);
5425
- __decorate$1([
5551
+ __decorate([
5426
5552
  Complex({}, MarkerClusterSettings)
5427
5553
  ], LayerSettings.prototype, "markerClusterSettings", void 0);
5428
- __decorate$1([
5554
+ __decorate([
5429
5555
  Complex({}, DataLabelSettings)
5430
5556
  ], LayerSettings.prototype, "dataLabelSettings", void 0);
5431
- __decorate$1([
5557
+ __decorate([
5432
5558
  Collection([], BubbleSettings)
5433
5559
  ], LayerSettings.prototype, "bubbleSettings", void 0);
5434
- __decorate$1([
5560
+ __decorate([
5435
5561
  Collection([], NavigationLineSettings)
5436
5562
  ], LayerSettings.prototype, "navigationLineSettings", void 0);
5437
- __decorate$1([
5563
+ __decorate([
5438
5564
  Complex({}, PolygonSettings)
5439
5565
  ], LayerSettings.prototype, "polygonSettings", void 0);
5440
- __decorate$1([
5566
+ __decorate([
5441
5567
  Complex({}, TooltipSettings)
5442
5568
  ], LayerSettings.prototype, "tooltipSettings", void 0);
5443
- __decorate$1([
5569
+ __decorate([
5444
5570
  Complex({}, SelectionSettings)
5445
5571
  ], LayerSettings.prototype, "selectionSettings", void 0);
5446
- __decorate$1([
5572
+ __decorate([
5447
5573
  Complex({}, HighlightSettings)
5448
5574
  ], LayerSettings.prototype, "highlightSettings", void 0);
5449
- __decorate$1([
5575
+ __decorate([
5450
5576
  Complex({}, ToggleLegendSettings)
5451
5577
  ], LayerSettings.prototype, "toggleLegendSettings", void 0);
5452
- __decorate$1([
5578
+ __decorate([
5453
5579
  Collection([], InitialShapeSelectionSettings)
5454
5580
  ], LayerSettings.prototype, "initialShapeSelection", void 0);
5455
5581
  return LayerSettings;
@@ -5478,14 +5604,14 @@ var Tile = /** @__PURE__ @class */ (function () {
5478
5604
  * Gets or sets the options to customize the area around the shapes in the map layer.
5479
5605
  */
5480
5606
  var MapsAreaSettings = /** @__PURE__ @class */ (function (_super) {
5481
- __extends$2(MapsAreaSettings, _super);
5607
+ __extends$1(MapsAreaSettings, _super);
5482
5608
  function MapsAreaSettings() {
5483
5609
  return _super !== null && _super.apply(this, arguments) || this;
5484
5610
  }
5485
- __decorate$1([
5611
+ __decorate([
5486
5612
  Property(null)
5487
5613
  ], MapsAreaSettings.prototype, "background", void 0);
5488
- __decorate$1([
5614
+ __decorate([
5489
5615
  Complex({ color: 'transparent', width: 1 }, Border)
5490
5616
  ], MapsAreaSettings.prototype, "border", void 0);
5491
5617
  return MapsAreaSettings;
@@ -6016,19 +6142,10 @@ var LayerPanel = /** @__PURE__ @class */ (function () {
6016
6142
  id: this.mapObject.element.id + '_Layer_Collections',
6017
6143
  'clip-path': 'url(#' + this.mapObject.element.id + '_MapArea_ClipRect)'
6018
6144
  }));
6019
- if (this.mapObject.layers[this.mapObject.baseLayerIndex].layerType === 'GoogleStaticMap') {
6020
- var staticMapSize = 640;
6021
- this.clipRectElement = this.mapObject.renderer.drawClipPath(new RectOption(this.mapObject.element.id + '_MapArea_ClipRect', 'transparent', { width: 1, color: 'Gray' }, 1, {
6022
- x: ((areaRect.width - staticMapSize) / 2), y: 0,
6023
- width: staticMapSize, height: areaRect.height
6024
- }));
6025
- }
6026
- else {
6027
- this.clipRectElement = this.mapObject.renderer.drawClipPath(new RectOption(this.mapObject.element.id + '_MapArea_ClipRect', 'transparent', { width: 1, color: 'Gray' }, 1, {
6028
- x: this.mapObject.isTileMap ? 0 : areaRect.x, y: this.mapObject.isTileMap ? 0 : areaRect.y,
6029
- width: areaRect.width, height: areaRect.height
6030
- }));
6031
- }
6145
+ this.clipRectElement = this.mapObject.renderer.drawClipPath(new RectOption(this.mapObject.element.id + '_MapArea_ClipRect', 'transparent', { width: 1, color: 'Gray' }, 1, {
6146
+ x: this.mapObject.isTileMap ? 0 : areaRect.x, y: this.mapObject.isTileMap ? 0 : areaRect.y,
6147
+ width: areaRect.width, height: areaRect.height
6148
+ }));
6032
6149
  this.layerGroup.appendChild(this.clipRectElement);
6033
6150
  this.mapObject.baseMapBounds = null;
6034
6151
  this.mapObject.baseMapRectBounds = null;
@@ -6162,8 +6279,7 @@ var LayerPanel = /** @__PURE__ @class */ (function () {
6162
6279
  && this.mapObject.availableSize.height > 512) {
6163
6280
  this.mapObject.applyZoomReset = true;
6164
6281
  this.mapObject.initialZoomLevel = Math.floor(this.mapObject.availableSize.height / 512);
6165
- var padding = this.mapObject.layers[this.mapObject.baseLayerIndex].layerType !== 'GoogleStaticMap' ?
6166
- 20 : 0;
6282
+ var padding = 20;
6167
6283
  var totalSize = Math.pow(2, this.mapObject.initialZoomLevel) * 256;
6168
6284
  if (!isNullOrUndefined(this.mapObject.initialTileTranslate)) {
6169
6285
  this.mapObject.initialTileTranslate.x = (this.mapObject.availableSize.width / 2) - (totalSize / 2);
@@ -6221,55 +6337,13 @@ var LayerPanel = /** @__PURE__ @class */ (function () {
6221
6337
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
6222
6338
  this.mapObject.trigger('layerRendering', eventArgs, function (observedArgs) {
6223
6339
  if (!eventArgs.cancel && eventArgs.visible) {
6224
- if (layer.layerType === 'OSM') {
6225
- layer.urlTemplate = 'https://a.tile.openstreetmap.org/level/tileX/tileY.png';
6226
- }
6227
- if (layer.layerType === 'Google') {
6228
- layer.urlTemplate = 'https://mt1.google.com/vt/lyrs=m@129&hl=en&x=tileX&y=tileY&z=level';
6229
- }
6230
- if (layer.layerType !== 'Geometry' || (isNullOrUndefined(layer.shapeData) && !isNullOrUndefined(layer.urlTemplate) && layer.urlTemplate !== '')) {
6231
- if (layer.layerType !== 'Bing' || _this.bing) {
6232
- if (!isNullOrUndefined(layer.urlTemplate) && layer.urlTemplate.indexOf('quadkey') > -1) {
6233
- var bing = new BingMap(_this.mapObject);
6234
- _this.bingMapCalculation(layer, layerIndex, _this, bing);
6235
- }
6236
- else {
6237
- _this.renderTileLayer(_this, layer, layerIndex);
6238
- }
6340
+ if ((isNullOrUndefined(layer.shapeData) && !isNullOrUndefined(layer.urlTemplate) && layer.urlTemplate !== '')) {
6341
+ if (!isNullOrUndefined(layer.urlTemplate) && layer.urlTemplate.indexOf('quadkey') > -1) {
6342
+ var bing = new BingMap(_this.mapObject);
6343
+ _this.bingMapCalculation(layer, layerIndex, _this, bing);
6239
6344
  }
6240
- else if (layer.key && layer.key.length > 1) {
6241
- // eslint-disable-next-line @typescript-eslint/no-this-alias
6242
- var proxy_1 = _this;
6243
- var bing_1 = new BingMap(_this.mapObject);
6244
- var bingType = layer.bingMapType === 'AerialWithLabel' ? 'AerialWithLabelsOnDemand' : layer.bingMapType;
6245
- var url = 'https://dev.virtualearth.net/REST/V1/Imagery/Metadata/' + bingType;
6246
- var ajax = new Fetch({
6247
- url: url + '?output=json&include=ImageryProviders&urischeme=https&key=' + layer.key
6248
- });
6249
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
6250
- ajax.onSuccess = function (json) {
6251
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
6252
- var resource = json['resourceSets'][0]['resources'][0];
6253
- var imageUrl = resource['imageUrl'];
6254
- var subDomains = resource['imageUrlSubdomains'];
6255
- var maxZoom = resource['zoomMax'];
6256
- if (imageUrl !== null && imageUrl !== undefined && imageUrl !== bing_1.imageUrl) {
6257
- bing_1.imageUrl = imageUrl;
6258
- }
6259
- if (subDomains !== null && subDomains !== undefined && subDomains !== bing_1.subDomains) {
6260
- bing_1.subDomains = subDomains;
6261
- }
6262
- if (maxZoom !== null && maxZoom !== undefined && maxZoom !== bing_1.maxZoom) {
6263
- bing_1.maxZoom = maxZoom;
6264
- }
6265
- proxy_1.mapObject['bingMap'] = bing_1;
6266
- proxy_1.renderTileLayer(proxy_1, layer, layerIndex, bing_1);
6267
- _this.mapObject.arrangeTemplate();
6268
- if (_this.mapObject.zoomModule && (_this.mapObject.previousScale !== _this.mapObject.scale)) {
6269
- _this.mapObject.zoomModule.applyTransform(_this.mapObject, true);
6270
- }
6271
- };
6272
- ajax.send();
6345
+ else {
6346
+ _this.renderTileLayer(_this, layer, layerIndex);
6273
6347
  }
6274
6348
  }
6275
6349
  else {
@@ -6377,7 +6451,7 @@ var LayerPanel = /** @__PURE__ @class */ (function () {
6377
6451
  var _loop_1 = function (i) {
6378
6452
  var k = void 0;
6379
6453
  var borderValue = {
6380
- color: shapeSettings.border.color,
6454
+ color: shapeSettings.border.color || this_1.mapObject.themeStyle.shapeBorderColor,
6381
6455
  width: shapeSettings.border.width,
6382
6456
  opacity: shapeSettings.border.opacity
6383
6457
  };
@@ -6442,21 +6516,20 @@ var LayerPanel = /** @__PURE__ @class */ (function () {
6442
6516
  if (!eventArgs.cancel) {
6443
6517
  eventArgs.fill = eventArgs.fill === '#A6A6A6' ? eventArgs.shape.fill ||
6444
6518
  _this.mapObject.themeStyle.shapeFill : eventArgs.fill;
6445
- eventArgs.border.color = eventArgs.border.color === '#000000' ?
6519
+ eventArgs.border.color = eventArgs.border.color === 'transparent' ?
6446
6520
  eventArgs.shape.border.color : eventArgs.border.color;
6447
6521
  eventArgs.border.width = eventArgs.border.width === 0 ? eventArgs.shape.border.width : eventArgs.border.width;
6448
6522
  if (isNullOrUndefined(shapeSettings.borderColorValuePath)) {
6449
- _this.mapObject.layers[layerIndex].shapeSettings.border.color = eventArgs.border.color;
6523
+ borderValue.color = eventArgs.border.color;
6450
6524
  }
6451
6525
  if (isNullOrUndefined(shapeSettings.borderWidthValuePath)) {
6452
- _this.mapObject.layers[layerIndex].shapeSettings.border.width = eventArgs.border.width;
6526
+ borderValue.width = eventArgs.border.width;
6453
6527
  }
6454
6528
  }
6455
6529
  else {
6456
6530
  eventArgs.fill = fill;
6457
- eventArgs.border.color = shapeSettings.border.color;
6531
+ eventArgs.border.color = shapeSettings.border.color || _this.mapObject.themeStyle.shapeBorderColor;
6458
6532
  eventArgs.border.width = shapeSettings.border.width;
6459
- _this.mapObject.layers[layerIndex].shapeSettings.border = shapeSettings.border;
6460
6533
  }
6461
6534
  eventArgs.border.opacity = isNullOrUndefined(eventArgs.border.opacity) ? opacity : eventArgs.border.opacity;
6462
6535
  if (_this.groupElements.length < 1) {
@@ -6653,10 +6726,12 @@ var LayerPanel = /** @__PURE__ @class */ (function () {
6653
6726
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6654
6727
  var bubbleDataSource = bubble_1.dataSource;
6655
6728
  this_2.mapObject.bubbleModule.bubbleCollection = [];
6656
- bubbleDataSource.map(function (bubbleData, i) {
6657
- _this.renderBubble(_this.currentLayer, bubbleData, colors[i % colors.length], range, j, i, bubbleG, layerIndex, bubble_1);
6658
- });
6659
- this_2.groupElements.push(bubbleG);
6729
+ if (!isNullOrUndefined(bubbleDataSource) && bubbleDataSource.length > 0) {
6730
+ bubbleDataSource.map(function (bubbleData, i) {
6731
+ _this.renderBubble(_this.currentLayer, bubbleData, colors[i % colors.length], range, j, i, bubbleG, layerIndex, bubble_1);
6732
+ });
6733
+ this_2.groupElements.push(bubbleG);
6734
+ }
6660
6735
  };
6661
6736
  var this_2 = this;
6662
6737
  for (var j = 0; j < length_1; j++) {
@@ -6682,9 +6757,13 @@ var LayerPanel = /** @__PURE__ @class */ (function () {
6682
6757
  if (this.mapObject.navigationLineModule) {
6683
6758
  this.groupElements.push(this.mapObject.navigationLineModule.renderNavigation(this.currentLayer, this.currentFactor, layerIndex));
6684
6759
  }
6685
- this.groupElements.map(function (element) {
6686
- _this.layerObject.appendChild(element);
6687
- });
6760
+ if (!isNullOrUndefined(this.groupElements) && !isNullOrUndefined(this.layerObject)) {
6761
+ this.groupElements.map(function (element) {
6762
+ if (!isNullOrUndefined(element)) {
6763
+ _this.layerObject.appendChild(element);
6764
+ }
6765
+ });
6766
+ }
6688
6767
  if (this.mapObject.markerModule) {
6689
6768
  this.mapObject.markerModule.markerRender(this.mapObject, this.layerObject, layerIndex, (this.mapObject.isTileMap ? Math.floor(this.currentFactor) :
6690
6769
  this.currentFactor), null);
@@ -6773,9 +6852,9 @@ var LayerPanel = /** @__PURE__ @class */ (function () {
6773
6852
  return color;
6774
6853
  }
6775
6854
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6776
- var index = checkShapeDataFields(layer.dataSource, shape, layer.shapeDataPath, layer.shapePropertyPath, layer);
6855
+ var index = checkShapeDataFields(layer.dataSource, shape, layer.shapeDataPath, layer.shapePropertyPath);
6777
6856
  var colorMapping = new ColorMapping(this.mapObject);
6778
- if (isNullOrUndefined(layer.dataSource[index])) {
6857
+ if (isNullOrUndefined(layer.dataSource) || isNullOrUndefined(layer.dataSource[index])) {
6779
6858
  return color;
6780
6859
  }
6781
6860
  return colorMapping.getShapeColorMapping(layer.shapeSettings, layer.dataSource[index], color);
@@ -6954,15 +7033,15 @@ var LayerPanel = /** @__PURE__ @class */ (function () {
6954
7033
  if (!isNullOrUndefined(this.mapObject.baseMapRectBounds)) {
6955
7034
  var duration = animationMode === 'Disable' ? 0 : (this.currentLayer.animationDuration === 0 && animationMode === 'Enable') ?
6956
7035
  1000 : this.currentLayer.animationDuration;
6957
- var animate$$1 = duration !== 0 || isNullOrUndefined(this.mapObject.zoomModule);
7036
+ var animate = duration !== 0 || isNullOrUndefined(this.mapObject.zoomModule);
6958
7037
  this.mapObject.baseTranslatePoint = this.mapObject.zoomTranslatePoint;
6959
7038
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6960
7039
  var translate = void 0;
6961
7040
  if (this.mapObject.zoomSettings.zoomFactor > 1 && !isNullOrUndefined(this.mapObject.zoomModule)) {
6962
- translate = getZoomTranslate(this.mapObject, this.currentLayer, animate$$1);
7041
+ translate = getZoomTranslate(this.mapObject, this.currentLayer, animate);
6963
7042
  }
6964
7043
  else {
6965
- translate = getTranslate(this.mapObject, this.currentLayer, animate$$1);
7044
+ translate = getTranslate(this.mapObject, this.currentLayer, animate);
6966
7045
  }
6967
7046
  var scale = this.mapObject.previousScale = translate['scale'];
6968
7047
  var location_1 = this.mapObject.previousPoint = translate['location'];
@@ -7156,9 +7235,8 @@ var LayerPanel = /** @__PURE__ @class */ (function () {
7156
7235
  var tile = new Tile(tileI % ycount, j);
7157
7236
  tile.left = Math.round(x);
7158
7237
  tile.top = Math.round(y);
7159
- if (baseLayer.layerType === 'Bing' || (bing && !isNullOrUndefined(baseLayer.urlTemplate) && baseLayer.urlTemplate !== '')) {
7160
- var key = baseLayer.key;
7161
- tile.src = bing.getBingMap(tile, key, baseLayer.bingMapType, userLang, bing.imageUrl, bing.subDomains);
7238
+ if ((bing && !isNullOrUndefined(baseLayer.urlTemplate) && baseLayer.urlTemplate !== '')) {
7239
+ tile.src = bing.getBingMap(tile, '', '', userLang, bing.imageUrl, bing.subDomains);
7162
7240
  }
7163
7241
  else {
7164
7242
  tile.src = this.urlTemplate.replace('level', zoomLevel.toString()).replace('tileX', tile.x.toString())
@@ -7185,14 +7263,13 @@ var LayerPanel = /** @__PURE__ @class */ (function () {
7185
7263
  if (!(layer.type === 'SubLayer' && layer.visible)) {
7186
7264
  continue;
7187
7265
  }
7188
- if ((layer.layerType !== 'Geometry' && layer.layerType !== 'GoogleStaticMap') || (layer.layerType === 'Geometry' &&
7189
- isNullOrUndefined(layer.shapeData) && !isNullOrUndefined(layer.urlTemplate) && layer.urlTemplate !== '')) {
7266
+ if (isNullOrUndefined(layer.shapeData) && !isNullOrUndefined(layer.urlTemplate) && layer.urlTemplate !== '') {
7190
7267
  for (var _b = 0, proxTiles_1 = proxTiles; _b < proxTiles_1.length; _b++) {
7191
7268
  var baseTile = proxTiles_1[_b];
7192
7269
  var subtile = extend({}, baseTile, {}, true);
7193
- if (layer.layerType === 'Bing') {
7270
+ if (layer.urlTemplate.indexOf('quadkey')) {
7194
7271
  bing = new BingMap(this.mapObject);
7195
- subtile.src = bing.getBingMap(subtile, layer.key, layer.bingMapType, userLang, bing.imageUrl, bing.subDomains);
7272
+ subtile.src = bing.getBingMap(subtile, '', '', userLang, bing.imageUrl, bing.subDomains);
7196
7273
  }
7197
7274
  else {
7198
7275
  subtile.src = layer.urlTemplate.replace('level', zoomLevel.toString()).replace('tileX', baseTile.x.toString())
@@ -7220,111 +7297,106 @@ var LayerPanel = /** @__PURE__ @class */ (function () {
7220
7297
  else {
7221
7298
  timeOut = 0;
7222
7299
  }
7223
- if (this.mapObject.layers[this.mapObject.baseLayerIndex].layerType === 'GoogleStaticMap') {
7224
- this.renderGoogleMap(this.mapObject.layers[0].key, this.mapObject.staticMapZoom);
7225
- }
7226
- else {
7227
- setTimeout(function () {
7228
- if (element) {
7229
- element.style.zIndex = '1';
7230
- }
7231
- if (element1) {
7232
- element1.style.zIndex = '0';
7233
- }
7234
- var animateElement;
7235
- if (!document.getElementById(_this.mapObject.element.id + '_animated_tiles') && element) {
7300
+ setTimeout(function () {
7301
+ if (element) {
7302
+ element.style.zIndex = '1';
7303
+ }
7304
+ if (element1) {
7305
+ element1.style.zIndex = '0';
7306
+ }
7307
+ var animateElement;
7308
+ if (!document.getElementById(_this.mapObject.element.id + '_animated_tiles') && element) {
7309
+ animateElement = createElement('div', { id: _this.mapObject.element.id + '_animated_tiles' });
7310
+ element.appendChild(animateElement);
7311
+ }
7312
+ else {
7313
+ if (type !== 'Pan' && element1 && element) {
7314
+ element1.appendChild(element.children[0]);
7315
+ if (!_this.mapObject.isAddLayer && !isNullOrUndefined(document.getElementById(_this.mapObject.element.id + '_animated_tiles'))) {
7316
+ document.getElementById(_this.mapObject.element.id + '_animated_tiles').id =
7317
+ _this.mapObject.element.id + '_animated_tiles_old';
7318
+ }
7236
7319
  animateElement = createElement('div', { id: _this.mapObject.element.id + '_animated_tiles' });
7237
7320
  element.appendChild(animateElement);
7238
7321
  }
7239
7322
  else {
7240
- if (type !== 'Pan' && element1 && element) {
7241
- element1.appendChild(element.children[0]);
7242
- if (!_this.mapObject.isAddLayer && !isNullOrUndefined(document.getElementById(_this.mapObject.element.id + '_animated_tiles'))) {
7243
- document.getElementById(_this.mapObject.element.id + '_animated_tiles').id =
7244
- _this.mapObject.element.id + '_animated_tiles_old';
7245
- }
7246
- animateElement = createElement('div', { id: _this.mapObject.element.id + '_animated_tiles' });
7247
- element.appendChild(animateElement);
7323
+ animateElement = element ? element.children[0] : null;
7324
+ }
7325
+ }
7326
+ for (var id = 0; id < _this.tiles.length; id++) {
7327
+ var tile = _this.tiles[id];
7328
+ var imgElement = null;
7329
+ var mapId = _this.mapObject.element.id;
7330
+ if (type === 'Pan') {
7331
+ var child = document.getElementById(mapId + '_tile_' + id);
7332
+ var isNewTile = false;
7333
+ if (isNullOrUndefined(child)) {
7334
+ isNewTile = true;
7335
+ child = createElement('div', { id: mapId + '_tile_' + id });
7336
+ imgElement = createElement('img');
7248
7337
  }
7249
7338
  else {
7250
- animateElement = element ? element.children[0] : null;
7339
+ child.style.removeProperty('display');
7340
+ imgElement = child.children[0];
7251
7341
  }
7252
- }
7253
- for (var id = 0; id < _this.tiles.length; id++) {
7254
- var tile = _this.tiles[id];
7255
- var imgElement = null;
7256
- var mapId = _this.mapObject.element.id;
7257
- if (type === 'Pan') {
7258
- var child = document.getElementById(mapId + '_tile_' + id);
7259
- var isNewTile = false;
7260
- if (isNullOrUndefined(child)) {
7261
- isNewTile = true;
7262
- child = createElement('div', { id: mapId + '_tile_' + id });
7263
- imgElement = createElement('img');
7264
- }
7265
- else {
7266
- child.style.removeProperty('display');
7267
- imgElement = child.children[0];
7268
- }
7269
- if (!isNewTile && imgElement && imgElement.src !== tile.src) {
7270
- imgElement.src = tile.src;
7271
- }
7272
- child.style.position = 'absolute';
7273
- child.style.left = tile.left + 'px';
7274
- child.style.top = tile.top + 'px';
7275
- child.style.height = tile.height + 'px';
7276
- child.style.width = tile.width + 'px';
7277
- if (isNewTile) {
7278
- imgElement.setAttribute('height', '256px');
7279
- imgElement.setAttribute('width', '256px');
7280
- imgElement.setAttribute('src', tile.src);
7281
- imgElement.setAttribute('alt', _this.mapObject.getLocalizedLabel('ImageNotFound'));
7282
- imgElement.style.setProperty('user-select', 'none');
7283
- child.appendChild(imgElement);
7284
- animateElement.appendChild(child);
7285
- }
7342
+ if (!isNewTile && imgElement && imgElement.src !== tile.src) {
7343
+ imgElement.src = tile.src;
7286
7344
  }
7287
- else {
7288
- imgElement = createElement('img');
7345
+ child.style.position = 'absolute';
7346
+ child.style.left = tile.left + 'px';
7347
+ child.style.top = tile.top + 'px';
7348
+ child.style.height = tile.height + 'px';
7349
+ child.style.width = tile.width + 'px';
7350
+ if (isNewTile) {
7289
7351
  imgElement.setAttribute('height', '256px');
7290
7352
  imgElement.setAttribute('width', '256px');
7291
7353
  imgElement.setAttribute('src', tile.src);
7292
- imgElement.style.setProperty('user-select', 'none');
7293
7354
  imgElement.setAttribute('alt', _this.mapObject.getLocalizedLabel('ImageNotFound'));
7294
- var child = createElement('div', { id: mapId + '_tile_' + id });
7295
- child.style.position = 'absolute';
7296
- child.style.left = tile.left + 'px';
7297
- child.style.top = tile.top + 'px';
7298
- child.style.height = tile.height + 'px';
7299
- child.style.width = tile.width + 'px';
7355
+ imgElement.style.setProperty('user-select', 'none');
7300
7356
  child.appendChild(imgElement);
7301
- if (animateElement) {
7302
- animateElement.appendChild(child);
7303
- }
7357
+ animateElement.appendChild(child);
7304
7358
  }
7305
- if (id === (_this.tiles.length - 1) && document.getElementById(_this.mapObject.element.id + '_animated_tiles_old')) {
7306
- removeElement(_this.mapObject.element.id + '_animated_tiles_old');
7359
+ }
7360
+ else {
7361
+ imgElement = createElement('img');
7362
+ imgElement.setAttribute('height', '256px');
7363
+ imgElement.setAttribute('width', '256px');
7364
+ imgElement.setAttribute('src', tile.src);
7365
+ imgElement.style.setProperty('user-select', 'none');
7366
+ imgElement.setAttribute('alt', _this.mapObject.getLocalizedLabel('ImageNotFound'));
7367
+ var child = createElement('div', { id: mapId + '_tile_' + id });
7368
+ child.style.position = 'absolute';
7369
+ child.style.left = tile.left + 'px';
7370
+ child.style.top = tile.top + 'px';
7371
+ child.style.height = tile.height + 'px';
7372
+ child.style.width = tile.width + 'px';
7373
+ child.appendChild(imgElement);
7374
+ if (animateElement) {
7375
+ animateElement.appendChild(child);
7307
7376
  }
7308
7377
  }
7309
- if (!isNullOrUndefined(_this.mapObject.currentTiles)) {
7310
- for (var l = _this.tiles.length; l < animateElement.childElementCount; l++) {
7311
- var isExistingElement = false;
7312
- for (var a = 0; a < _this.mapObject.currentTiles.childElementCount; a++) {
7313
- if (!isExistingElement &&
7314
- _this.mapObject.currentTiles.children[a].id === animateElement.children[l].id) {
7315
- isExistingElement = true;
7316
- }
7317
- }
7318
- if (isExistingElement) {
7319
- animateElement.children[l].style.display = 'none';
7320
- }
7321
- else {
7322
- animateElement.removeChild(animateElement.children[l]);
7378
+ if (id === (_this.tiles.length - 1) && document.getElementById(_this.mapObject.element.id + '_animated_tiles_old')) {
7379
+ removeElement(_this.mapObject.element.id + '_animated_tiles_old');
7380
+ }
7381
+ }
7382
+ if (!isNullOrUndefined(_this.mapObject.currentTiles)) {
7383
+ for (var l = _this.tiles.length; l < animateElement.childElementCount; l++) {
7384
+ var isExistingElement = false;
7385
+ for (var a = 0; a < _this.mapObject.currentTiles.childElementCount; a++) {
7386
+ if (!isExistingElement &&
7387
+ _this.mapObject.currentTiles.children[a].id === animateElement.children[l].id) {
7388
+ isExistingElement = true;
7323
7389
  }
7324
7390
  }
7391
+ if (isExistingElement) {
7392
+ animateElement.children[l].style.display = 'none';
7393
+ }
7394
+ else {
7395
+ animateElement.removeChild(animateElement.children[l]);
7396
+ }
7325
7397
  }
7326
- }, timeOut);
7327
- }
7398
+ }
7399
+ }, timeOut);
7328
7400
  };
7329
7401
  /**
7330
7402
  * Animation for tile layers and hide the group element until the tile layer rendering.
@@ -7399,7 +7471,7 @@ var LayerPanel = /** @__PURE__ @class */ (function () {
7399
7471
  var eleWidth = mapWidth > 640 ? (mapWidth - 640) / 2 : 0;
7400
7472
  var eleHeight = mapHeight > 640 ? (mapHeight - 640) / 2 : 0;
7401
7473
  var center;
7402
- var mapType = (map.layers[map.layers.length - 1].staticMapType).toString().toLowerCase();
7474
+ var mapType = 'roadmap';
7403
7475
  if (map.centerPosition.latitude && map.centerPosition.longitude) {
7404
7476
  center = map.centerPosition.latitude.toString() + ',' + map.centerPosition.longitude.toString();
7405
7477
  }
@@ -7425,8 +7497,7 @@ var LayerPanel = /** @__PURE__ @class */ (function () {
7425
7497
  this.mapObject.tileZoomLevel = this.mapObject.tileZoomScale;
7426
7498
  }
7427
7499
  var level = this.mapObject.tileZoomLevel;
7428
- var padding = this.mapObject.layers[this.mapObject.layers.length - 1].layerType !== 'GoogleStaticMap' ?
7429
- 20 : 0;
7500
+ var padding = 20;
7430
7501
  var x;
7431
7502
  var y;
7432
7503
  var totalSize = Math.pow(2, level) * 256;
@@ -7617,7 +7688,7 @@ var Annotations = /** @__PURE__ @class */ (function () {
7617
7688
  return Annotations;
7618
7689
  }());
7619
7690
 
7620
- var __extends = (undefined && undefined.__extends) || (function () {
7691
+ var __extends$2 = (undefined && undefined.__extends) || (function () {
7621
7692
  var extendStatics = function (d, b) {
7622
7693
  extendStatics = Object.setPrototypeOf ||
7623
7694
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -7630,15 +7701,12 @@ var __extends = (undefined && undefined.__extends) || (function () {
7630
7701
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7631
7702
  };
7632
7703
  })();
7633
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7704
+ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7634
7705
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7635
7706
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7636
7707
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7637
7708
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7638
7709
  };
7639
- /**
7640
- * Maps Component file
7641
- */
7642
7710
  /**
7643
7711
  * Represents the maps control. It is ideal for rendering maps from GeoJSON data or other map providers like OpenStreetMap, Google Maps, Bing Maps, etc that
7644
7712
  * has rich feature set that includes markers, labels, bubbles and much more.
@@ -7651,7 +7719,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
7651
7719
  * ```
7652
7720
  */
7653
7721
  var Maps = /** @__PURE__ @class */ (function (_super) {
7654
- __extends(Maps, _super);
7722
+ __extends$2(Maps, _super);
7655
7723
  /**
7656
7724
  * Constructor for creating the widget.
7657
7725
  *
@@ -7933,7 +8001,7 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
7933
8001
  _loop_2(i);
7934
8002
  }
7935
8003
  }
7936
- if (layer.dataSource instanceof MapAjax || !isNullOrUndefined(layer.dataSource['dataOptions'])) {
8004
+ if (layer.dataSource instanceof MapAjax || (!isNullOrUndefined(layer.dataSource) && !isNullOrUndefined(layer.dataSource['dataOptions']))) {
7937
8005
  _this.processAjaxRequest(layer, layer.dataSource, 'DataSource');
7938
8006
  }
7939
8007
  if (_this.serverProcess['request'] === _this.serverProcess['response'] && length === layerIndex) {
@@ -8373,8 +8441,7 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
8373
8441
  Maps.prototype.createTile = function () {
8374
8442
  var mainLayer = this.layersCollection[0];
8375
8443
  var padding = 0;
8376
- if (mainLayer.isBaseLayer && (mainLayer.layerType === 'OSM' || mainLayer.layerType === 'Bing' ||
8377
- mainLayer.layerType === 'GoogleStaticMap' || mainLayer.layerType === 'Google' || (!isNullOrUndefined(mainLayer.urlTemplate) && mainLayer.urlTemplate !== ''))) {
8444
+ if (mainLayer.isBaseLayer && (!isNullOrUndefined(mainLayer.urlTemplate) && mainLayer.urlTemplate !== '' && isNullOrUndefined(mainLayer.shapeData))) {
8378
8445
  removeElement(this.element.id + '_tile_parent');
8379
8446
  removeElement(this.element.id + '_tiles');
8380
8447
  removeElement('animated_tiles');
@@ -8425,7 +8492,7 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
8425
8492
  var baseLayer = mainLayers[i];
8426
8493
  if (baseLayer.visible && baseIndex === i) {
8427
8494
  baseLayer.isBaseLayer = true;
8428
- this.isTileMap = (baseLayer.layerType === 'Geometry' && !isNullOrUndefined(baseLayer.shapeData)) ? false : true;
8495
+ this.isTileMap = !isNullOrUndefined(baseLayer.shapeData) ? false : true;
8429
8496
  this.layersCollection.push(baseLayer);
8430
8497
  break;
8431
8498
  }
@@ -8794,11 +8861,11 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
8794
8861
  }
8795
8862
  };
8796
8863
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
8797
- Maps.prototype.getMarkerClickLocation = function (pageX, pageY, x, y, marker$$1, isDragEnd) {
8864
+ Maps.prototype.getMarkerClickLocation = function (pageX, pageY, x, y, marker, isDragEnd) {
8798
8865
  document.getElementById(this.element.id + '_svg').style.cursor = 'grabbing';
8799
- var targetElement = getElement(marker$$1.targetId);
8800
- var latLongValue = this.getClickLocation(marker$$1.targetId, pageX, pageY, targetElement, x, y);
8801
- var location = (this.isTileMap) ? convertTileLatLongToPoint(new MapLocation(latLongValue.longitude, latLongValue.latitude), this.tileZoomLevel, this.tileTranslatePoint, true) : convertGeoToPoint(latLongValue.latitude, latLongValue.longitude, this.mapLayerPanel.currentFactor, this.layersCollection[marker$$1.layerIndex], this);
8866
+ var targetElement = getElement(marker.targetId);
8867
+ var latLongValue = this.getClickLocation(marker.targetId, pageX, pageY, targetElement, x, y);
8868
+ var location = (this.isTileMap) ? convertTileLatLongToPoint(new MapLocation(latLongValue.longitude, latLongValue.latitude), this.tileZoomLevel, this.tileTranslatePoint, true) : convertGeoToPoint(latLongValue.latitude, latLongValue.longitude, this.mapLayerPanel.currentFactor, this.layersCollection[marker.layerIndex], this);
8802
8869
  var transPoint = this.translatePoint;
8803
8870
  var translateX = (this.isTileMap ? location.x : (location.x + transPoint.x) * this.scale);
8804
8871
  var translateY = (this.isTileMap ? location.y : (location.y + transPoint.y) * this.scale);
@@ -8809,8 +8876,8 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
8809
8876
  targetElement.parentElement.setAttribute('transform', 'translate( ' + translateX + ' ' + translateY + ' )');
8810
8877
  }
8811
8878
  if (isDragEnd) {
8812
- var markerSettings = this.layers[marker$$1.layerIndex].markerSettings[marker$$1.markerIndex];
8813
- latLongValue = this.getClickLocation(marker$$1.targetId, (pageX - markerSettings.offset.x), (pageY - markerSettings.offset.y), targetElement, (x - markerSettings.offset.x), (y - markerSettings.offset.y));
8879
+ var markerSettings = this.layers[marker.layerIndex].markerSettings[marker.markerIndex];
8880
+ latLongValue = this.getClickLocation(marker.targetId, (pageX - markerSettings.offset.x), (pageY - markerSettings.offset.y), targetElement, (x - markerSettings.offset.x), (y - markerSettings.offset.y));
8814
8881
  }
8815
8882
  return latLongValue;
8816
8883
  };
@@ -8959,32 +9026,32 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
8959
9026
  }
8960
9027
  if (!isNullOrUndefined(this.markerDragArgument)) {
8961
9028
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
8962
- var marker$$1 = this.markerDragArgument;
9029
+ var marker = this.markerDragArgument;
8963
9030
  this.mouseClickEvent['x'] = this.mouseDownEvent['x'];
8964
9031
  this.mouseClickEvent['y'] = this.mouseDownEvent['y'];
8965
9032
  var latLongValue = this.getMarkerClickLocation(pageX, pageY, layerX, layerY, this.markerDragArgument, true);
8966
- var markerObject = this.layers[marker$$1.layerIndex].markerSettings[marker$$1.markerIndex];
9033
+ var markerObject = this.layers[marker.layerIndex].markerSettings[marker.markerIndex];
8967
9034
  document.getElementById(this.element.id + '_svg').style.cursor = markerObject.enableDrag ? 'pointer' : 'grabbing';
8968
9035
  var dragEventArgs = {
8969
9036
  name: 'markerDragEnd', x: pageX, y: pageY,
8970
9037
  latitude: latLongValue.latitude, longitude: latLongValue.longitude,
8971
- layerIndex: marker$$1.layerIndex, markerIndex: marker$$1.markerIndex,
8972
- dataIndex: marker$$1.dataIndex
9038
+ layerIndex: marker.layerIndex, markerIndex: marker.markerIndex,
9039
+ dataIndex: marker.dataIndex
8973
9040
  };
8974
9041
  if (isNullOrUndefined(markerObject.latitudeValuePath) && isNullOrUndefined(markerObject.longitudeValuePath)) {
8975
- var data = markerObject.dataSource[marker$$1.dataIndex];
9042
+ var data = markerObject.dataSource[marker.dataIndex];
8976
9043
  if (!isNullOrUndefined(data['Longitude']) && !isNullOrUndefined(data['Latitude'])) {
8977
- markerObject.dataSource[marker$$1.dataIndex].Latitude = dragEventArgs.latitude;
8978
- markerObject.dataSource[marker$$1.dataIndex].Longitude = dragEventArgs.longitude;
9044
+ markerObject.dataSource[marker.dataIndex].Latitude = dragEventArgs.latitude;
9045
+ markerObject.dataSource[marker.dataIndex].Longitude = dragEventArgs.longitude;
8979
9046
  }
8980
9047
  else {
8981
- markerObject.dataSource[marker$$1.dataIndex].latitude = dragEventArgs.latitude;
8982
- markerObject.dataSource[marker$$1.dataIndex].longitude = dragEventArgs.longitude;
9048
+ markerObject.dataSource[marker.dataIndex].latitude = dragEventArgs.latitude;
9049
+ markerObject.dataSource[marker.dataIndex].longitude = dragEventArgs.longitude;
8983
9050
  }
8984
9051
  }
8985
9052
  else {
8986
- markerObject.dataSource[marker$$1.dataIndex][markerObject.latitudeValuePath] = dragEventArgs.latitude;
8987
- markerObject.dataSource[marker$$1.dataIndex][markerObject.longitudeValuePath] = dragEventArgs.longitude;
9053
+ markerObject.dataSource[marker.dataIndex][markerObject.latitudeValuePath] = dragEventArgs.latitude;
9054
+ markerObject.dataSource[marker.dataIndex][markerObject.longitudeValuePath] = dragEventArgs.longitude;
8988
9055
  }
8989
9056
  this.markerDragId = '';
8990
9057
  this.markerDragArgument = null;
@@ -9171,10 +9238,10 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
9171
9238
  }
9172
9239
  if (!isNullOrUndefined(this.markerDragArgument)) {
9173
9240
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9174
- var marker$$1 = this.markerDragArgument;
9241
+ var marker = this.markerDragArgument;
9175
9242
  this.mouseClickEvent['x'] = this.mouseDownEvent['x'];
9176
9243
  this.mouseClickEvent['y'] = this.mouseDownEvent['y'];
9177
- this.getMarkerClickLocation(pageX, pageY, layerX, layerY, marker$$1, false);
9244
+ this.getMarkerClickLocation(pageX, pageY, layerX, layerY, marker, false);
9178
9245
  }
9179
9246
  if (this.zoomModule) {
9180
9247
  this.zoomModule.removeToolbarOpacity(this.isTileMap ? Math.round(this.tileZoomLevel) : this.scale, e.target.id);
@@ -9711,7 +9778,6 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
9711
9778
  var render = false;
9712
9779
  var isMarker = false;
9713
9780
  var isLayer = false;
9714
- var isStaticMapType = false;
9715
9781
  for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {
9716
9782
  var prop = _a[_i];
9717
9783
  switch (prop) {
@@ -9733,17 +9799,13 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
9733
9799
  var collection = Object.keys(newProp.layers[x]);
9734
9800
  for (var _b = 0, collection_1 = collection; _b < collection_1.length; _b++) {
9735
9801
  var collectionProp = collection_1[_b];
9736
- if ((collectionProp === 'layerType' && newProp.layers[x].layerType !== 'Geometry') ||
9737
- (isNullOrUndefined(this.layers[x].shapeData)
9738
- && !isNullOrUndefined(this.layers[x].urlTemplate) && this.layers[x].urlTemplate !== '')) {
9802
+ if ((isNullOrUndefined(this.layers[x].shapeData)
9803
+ && !isNullOrUndefined(this.layers[x].urlTemplate) && this.layers[x].urlTemplate !== '')) {
9739
9804
  this.isReset = true;
9740
9805
  }
9741
9806
  else if (collectionProp === 'markerSettings') {
9742
9807
  isMarker = true;
9743
9808
  }
9744
- else if (collectionProp === 'staticMapType') {
9745
- isStaticMapType = true;
9746
- }
9747
9809
  }
9748
9810
  }
9749
9811
  }
@@ -9787,9 +9849,6 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
9787
9849
  this.render();
9788
9850
  }
9789
9851
  }
9790
- else if (newProp.layers && isStaticMapType) {
9791
- this.mapLayerPanel.renderGoogleMap(this.layers[this.layers.length - 1].key, this.staticMapZoom);
9792
- }
9793
9852
  else {
9794
9853
  this.createSVG();
9795
9854
  this.renderElements();
@@ -10114,18 +10173,18 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
10114
10173
  }
10115
10174
  for (var _b = 0, _c = polygonSetting.polygons; _b < _c.length; _b++) {
10116
10175
  var polygon = _c[_b];
10117
- if (polygon.points.length > 0) {
10176
+ if (!isNullOrUndefined(polygon.points) && polygon.points.length > 0) {
10118
10177
  isSelection = layer.polygonSettings.highlightSettings.enable || isSelection;
10119
10178
  isHighlight = layer.polygonSettings.selectionSettings.enable || isHighlight;
10120
10179
  istooltipVisible = layer.polygonSettings.tooltipSettings.visible || istooltipVisible;
10121
10180
  }
10122
10181
  }
10123
10182
  for (var _d = 0, markers_1 = markers; _d < markers_1.length; _d++) {
10124
- var marker$$1 = markers_1[_d];
10125
- if (marker$$1.visible) {
10126
- istooltipVisible = marker$$1.tooltipSettings.visible || istooltipVisible;
10127
- isSelection = marker$$1.selectionSettings.enable || isSelection;
10128
- isHighlight = marker$$1.highlightSettings.enable || isHighlight;
10183
+ var marker = markers_1[_d];
10184
+ if (marker.visible) {
10185
+ istooltipVisible = marker.tooltipSettings.visible || istooltipVisible;
10186
+ isSelection = marker.selectionSettings.enable || isSelection;
10187
+ isHighlight = marker.highlightSettings.enable || isHighlight;
10129
10188
  }
10130
10189
  if (istooltipVisible) {
10131
10190
  break;
@@ -10223,7 +10282,7 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
10223
10282
  var latitude = 0;
10224
10283
  var longitude = 0;
10225
10284
  if (!this.isDestroyed && !isNullOrUndefined(this.translatePoint)) {
10226
- var padding = this.layers[this.layers.length - 1].layerType === 'GoogleStaticMap' ? 0 : 10;
10285
+ var padding = 10;
10227
10286
  pageY = pageY + padding;
10228
10287
  var mapSize = 256 * Math.pow(2, this.tileZoomLevel);
10229
10288
  var x1 = (this.clip(pageX - (this.translatePoint.x * this.scale), 0, mapSize - 1) / mapSize) - 0.5;
@@ -10233,181 +10292,181 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
10233
10292
  }
10234
10293
  return { latitude: latitude, longitude: longitude };
10235
10294
  };
10236
- __decorate([
10295
+ __decorate$1([
10237
10296
  Property(null)
10238
10297
  ], Maps.prototype, "background", void 0);
10239
- __decorate([
10298
+ __decorate$1([
10240
10299
  Property(false)
10241
10300
  ], Maps.prototype, "useGroupingSeparator", void 0);
10242
- __decorate([
10301
+ __decorate$1([
10243
10302
  Property(null)
10244
10303
  ], Maps.prototype, "format", void 0);
10245
- __decorate([
10304
+ __decorate$1([
10246
10305
  Property(null)
10247
10306
  ], Maps.prototype, "width", void 0);
10248
- __decorate([
10307
+ __decorate$1([
10249
10308
  Property(null)
10250
10309
  ], Maps.prototype, "height", void 0);
10251
- __decorate([
10310
+ __decorate$1([
10252
10311
  Property('MouseMove')
10253
10312
  ], Maps.prototype, "tooltipDisplayMode", void 0);
10254
- __decorate([
10313
+ __decorate$1([
10255
10314
  Property(false)
10256
10315
  ], Maps.prototype, "allowPrint", void 0);
10257
- __decorate([
10316
+ __decorate$1([
10258
10317
  Property(false)
10259
10318
  ], Maps.prototype, "allowImageExport", void 0);
10260
- __decorate([
10319
+ __decorate$1([
10261
10320
  Property(false)
10262
10321
  ], Maps.prototype, "allowPdfExport", void 0);
10263
- __decorate([
10322
+ __decorate$1([
10264
10323
  Complex({}, TitleSettings)
10265
10324
  ], Maps.prototype, "titleSettings", void 0);
10266
- __decorate([
10325
+ __decorate$1([
10267
10326
  Complex({}, ZoomSettings)
10268
10327
  ], Maps.prototype, "zoomSettings", void 0);
10269
- __decorate([
10328
+ __decorate$1([
10270
10329
  Complex({}, LegendSettings)
10271
10330
  ], Maps.prototype, "legendSettings", void 0);
10272
- __decorate([
10331
+ __decorate$1([
10273
10332
  Collection([], LayerSettings)
10274
10333
  ], Maps.prototype, "layers", void 0);
10275
- __decorate([
10334
+ __decorate$1([
10276
10335
  Collection([], Annotation)
10277
10336
  ], Maps.prototype, "annotations", void 0);
10278
- __decorate([
10337
+ __decorate$1([
10279
10338
  Complex({}, Margin)
10280
10339
  ], Maps.prototype, "margin", void 0);
10281
- __decorate([
10340
+ __decorate$1([
10282
10341
  Complex({ color: '#DDDDDD', width: 0 }, Border)
10283
10342
  ], Maps.prototype, "border", void 0);
10284
- __decorate([
10343
+ __decorate$1([
10285
10344
  Property('Material')
10286
10345
  ], Maps.prototype, "theme", void 0);
10287
- __decorate([
10346
+ __decorate$1([
10288
10347
  Property('Mercator')
10289
10348
  ], Maps.prototype, "projectionType", void 0);
10290
- __decorate([
10349
+ __decorate$1([
10291
10350
  Property(0)
10292
10351
  ], Maps.prototype, "baseLayerIndex", void 0);
10293
- __decorate([
10352
+ __decorate$1([
10294
10353
  Property(null)
10295
10354
  ], Maps.prototype, "description", void 0);
10296
- __decorate([
10355
+ __decorate$1([
10297
10356
  Property(0)
10298
10357
  ], Maps.prototype, "tabIndex", void 0);
10299
- __decorate([
10358
+ __decorate$1([
10300
10359
  Complex({ latitude: null, longitude: null }, CenterPosition)
10301
10360
  ], Maps.prototype, "centerPosition", void 0);
10302
- __decorate([
10361
+ __decorate$1([
10303
10362
  Complex({}, MapsAreaSettings)
10304
10363
  ], Maps.prototype, "mapsArea", void 0);
10305
- __decorate([
10364
+ __decorate$1([
10306
10365
  Event()
10307
10366
  ], Maps.prototype, "load", void 0);
10308
- __decorate([
10367
+ __decorate$1([
10309
10368
  Event()
10310
10369
  ], Maps.prototype, "beforePrint", void 0);
10311
- __decorate([
10370
+ __decorate$1([
10312
10371
  Event()
10313
10372
  ], Maps.prototype, "loaded", void 0);
10314
- __decorate([
10373
+ __decorate$1([
10315
10374
  Event()
10316
10375
  ], Maps.prototype, "click", void 0);
10317
- __decorate([
10376
+ __decorate$1([
10318
10377
  Event()
10319
10378
  ], Maps.prototype, "onclick", void 0);
10320
- __decorate([
10379
+ __decorate$1([
10321
10380
  Event()
10322
10381
  ], Maps.prototype, "doubleClick", void 0);
10323
- __decorate([
10382
+ __decorate$1([
10324
10383
  Event()
10325
10384
  ], Maps.prototype, "rightClick", void 0);
10326
- __decorate([
10385
+ __decorate$1([
10327
10386
  Event()
10328
10387
  ], Maps.prototype, "resize", void 0);
10329
- __decorate([
10388
+ __decorate$1([
10330
10389
  Event()
10331
10390
  ], Maps.prototype, "tooltipRender", void 0);
10332
- __decorate([
10391
+ __decorate$1([
10333
10392
  Event()
10334
10393
  ], Maps.prototype, "legendRendering", void 0);
10335
- __decorate([
10394
+ __decorate$1([
10336
10395
  Event()
10337
10396
  ], Maps.prototype, "tooltipRenderComplete", void 0);
10338
- __decorate([
10397
+ __decorate$1([
10339
10398
  Event()
10340
10399
  ], Maps.prototype, "shapeSelected", void 0);
10341
- __decorate([
10400
+ __decorate$1([
10342
10401
  Event()
10343
10402
  ], Maps.prototype, "itemSelection", void 0);
10344
- __decorate([
10403
+ __decorate$1([
10345
10404
  Event()
10346
10405
  ], Maps.prototype, "itemHighlight", void 0);
10347
- __decorate([
10406
+ __decorate$1([
10348
10407
  Event()
10349
10408
  ], Maps.prototype, "shapeHighlight", void 0);
10350
- __decorate([
10409
+ __decorate$1([
10351
10410
  Event()
10352
10411
  ], Maps.prototype, "layerRendering", void 0);
10353
- __decorate([
10412
+ __decorate$1([
10354
10413
  Event()
10355
10414
  ], Maps.prototype, "shapeRendering", void 0);
10356
- __decorate([
10415
+ __decorate$1([
10357
10416
  Event()
10358
10417
  ], Maps.prototype, "markerRendering", void 0);
10359
- __decorate([
10418
+ __decorate$1([
10360
10419
  Event()
10361
10420
  ], Maps.prototype, "markerClusterRendering", void 0);
10362
- __decorate([
10421
+ __decorate$1([
10363
10422
  Event()
10364
10423
  ], Maps.prototype, "markerClick", void 0);
10365
- __decorate([
10424
+ __decorate$1([
10366
10425
  Event()
10367
10426
  ], Maps.prototype, "markerDragStart", void 0);
10368
- __decorate([
10427
+ __decorate$1([
10369
10428
  Event()
10370
10429
  ], Maps.prototype, "markerDragEnd", void 0);
10371
- __decorate([
10430
+ __decorate$1([
10372
10431
  Event()
10373
10432
  ], Maps.prototype, "markerClusterClick", void 0);
10374
- __decorate([
10433
+ __decorate$1([
10375
10434
  Event()
10376
10435
  ], Maps.prototype, "markerClusterMouseMove", void 0);
10377
- __decorate([
10436
+ __decorate$1([
10378
10437
  Event()
10379
10438
  ], Maps.prototype, "markerMouseMove", void 0);
10380
- __decorate([
10439
+ __decorate$1([
10381
10440
  Event()
10382
10441
  ], Maps.prototype, "dataLabelRendering", void 0);
10383
- __decorate([
10442
+ __decorate$1([
10384
10443
  Event()
10385
10444
  ], Maps.prototype, "bubbleRendering", void 0);
10386
- __decorate([
10445
+ __decorate$1([
10387
10446
  Event()
10388
10447
  ], Maps.prototype, "bubbleClick", void 0);
10389
- __decorate([
10448
+ __decorate$1([
10390
10449
  Event()
10391
10450
  ], Maps.prototype, "bubbleMouseMove", void 0);
10392
- __decorate([
10451
+ __decorate$1([
10393
10452
  Event()
10394
10453
  ], Maps.prototype, "animationComplete", void 0);
10395
- __decorate([
10454
+ __decorate$1([
10396
10455
  Event()
10397
10456
  ], Maps.prototype, "annotationRendering", void 0);
10398
- __decorate([
10457
+ __decorate$1([
10399
10458
  Event()
10400
10459
  ], Maps.prototype, "zoom", void 0);
10401
- __decorate([
10460
+ __decorate$1([
10402
10461
  Event()
10403
10462
  ], Maps.prototype, "pan", void 0);
10404
- __decorate([
10463
+ __decorate$1([
10405
10464
  Event()
10406
10465
  ], Maps.prototype, "panComplete", void 0);
10407
- __decorate([
10466
+ __decorate$1([
10408
10467
  Event()
10409
10468
  ], Maps.prototype, "zoomComplete", void 0);
10410
- Maps = __decorate([
10469
+ Maps = __decorate$1([
10411
10470
  NotifyPropertyChanges
10412
10471
  ], Maps);
10413
10472
  return Maps;
@@ -10573,12 +10632,12 @@ var Bubble = /** @__PURE__ @class */ (function () {
10573
10632
  });
10574
10633
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
10575
10634
  var translate;
10576
- var animate$$1 = (layer.animationDuration !== 0 || animationMode === 'Enable') || isNullOrUndefined(_this.maps.zoomModule);
10635
+ var animate = (layer.animationDuration !== 0 || animationMode === 'Enable') || isNullOrUndefined(_this.maps.zoomModule);
10577
10636
  if (_this.maps.zoomSettings.zoomFactor > 1 && !isNullOrUndefined(_this.maps.zoomModule) && !_this.maps.isTileMap) {
10578
- translate = getZoomTranslate(_this.maps, layer, animate$$1);
10637
+ translate = getZoomTranslate(_this.maps, layer, animate);
10579
10638
  }
10580
10639
  else {
10581
- translate = getTranslate(_this.maps, layer, animate$$1);
10640
+ translate = getTranslate(_this.maps, layer, animate);
10582
10641
  }
10583
10642
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
10584
10643
  var bubbleDataSource = bubbleSettings.dataSource;
@@ -10758,83 +10817,85 @@ var Marker = /** @__PURE__ @class */ (function () {
10758
10817
  Array.prototype.forEach.call(currentLayer.markerSettings, function (markerSettings, markerIndex) {
10759
10818
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
10760
10819
  var markerData = markerSettings.dataSource;
10761
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
10762
- Array.prototype.forEach.call(markerData, function (data, dataIndex) {
10763
- maps.markerNullCount = markerIndex > 0 && dataIndex === 0 ? 0 : maps.markerNullCount;
10764
- var eventArgs = {
10765
- cancel: false, name: markerRendering, fill: markerSettings.fill, height: markerSettings.height,
10766
- width: markerSettings.width, imageUrl: markerSettings.imageUrl, shape: markerSettings.shape,
10767
- template: markerSettings.template, data: data, maps: maps, marker: markerSettings,
10768
- border: markerSettings.border, colorValuePath: markerSettings.colorValuePath,
10769
- shapeValuePath: markerSettings.shapeValuePath, imageUrlValuePath: markerSettings.imageUrlValuePath
10770
- };
10771
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
10772
- maps.trigger('markerRendering', eventArgs, function (MarkerArgs) {
10773
- eventArgs = markerColorChoose(eventArgs, data);
10774
- eventArgs = markerShapeChoose(eventArgs, data);
10775
- var lng = (!isNullOrUndefined(markerSettings.longitudeValuePath)) ?
10776
- Number(getValueFromObject(data, markerSettings.longitudeValuePath)) : !isNullOrUndefined(data['longitude']) ?
10777
- parseFloat(data['longitude']) : !isNullOrUndefined(data['Longitude']) ? parseFloat(data['Longitude']) : null;
10778
- var lat = (!isNullOrUndefined(markerSettings.latitudeValuePath)) ?
10779
- Number(getValueFromObject(data, markerSettings.latitudeValuePath)) : !isNullOrUndefined(data['latitude']) ?
10780
- parseFloat(data['latitude']) : !isNullOrUndefined(data['Latitude']) ? parseFloat(data['Latitude']) : null;
10781
- var offset = markerSettings.offset;
10782
- if (!eventArgs.cancel && markerSettings.visible && !isNullOrUndefined(lng) && !isNullOrUndefined(lat)) {
10783
- var markerID = maps.element.id + '_LayerIndex_' + layerIndex + '_MarkerIndex_'
10784
- + markerIndex + '_dataIndex_' + dataIndex;
10785
- var location_1 = (maps.isTileMap) ? convertTileLatLongToPoint(new MapLocation(lng, lat), factor, maps.tileTranslatePoint, true) : convertGeoToPoint(lat, lng, factor, currentLayer, maps);
10786
- if (maps.isTileMap) {
10787
- translatePoint = (currentLayer.type === 'SubLayer' && isNullOrUndefined(maps.zoomModule)) ? location_1 = convertTileLatLongToPoint(new MapLocation(lng, lat), maps.tileZoomLevel, maps.tileTranslatePoint, true) : new Object();
10788
- }
10789
- var scale = type === 'AddMarker' ? maps.scale : translatePoint['scale'];
10790
- var transPoint = type === 'AddMarker' ? maps.translatePoint : translatePoint['location'];
10791
- if (eventArgs.template && (!isNaN(location_1.x) && !isNaN(location_1.y))) {
10792
- markerTemplateCount++;
10793
- markerTemplate(eventArgs, templateFn, markerID, data, markerIndex, markerTemplateEle, location_1, transPoint, scale, offset, maps);
10794
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
10795
- maps.renderReactTemplates();
10796
- }
10797
- else if (!eventArgs.template && (!isNaN(location_1.x) && !isNaN(location_1.y))) {
10798
- markerCount++;
10799
- marker(eventArgs, markerSettings, markerData, dataIndex, location_1, transPoint, markerID, offset, scale, maps, _this.markerSVGObject);
10800
- }
10801
- }
10802
- nullCount += (!isNaN(lat) && !isNaN(lng)) ? 0 : 1;
10803
- markerTemplateCount += (eventArgs.cancel) ? 1 : 0;
10804
- markerCount += (eventArgs.cancel) ? 1 : 0;
10805
- maps.markerNullCount = (isNullOrUndefined(lng) || isNullOrUndefined(lat)) ?
10806
- maps.markerNullCount + 1 : maps.markerNullCount;
10807
- var markerDataLength = markerData.length - maps.markerNullCount;
10808
- var isMarkersClustered = false;
10809
- if (_this.markerSVGObject.childElementCount === (markerDataLength - markerTemplateCount - nullCount) && (type !== 'Template')) {
10810
- layerElement.appendChild(_this.markerSVGObject);
10811
- if (currentLayer.markerClusterSettings.allowClustering) {
10812
- maps.svgObject.appendChild(_this.markerSVGObject);
10813
- maps.element.appendChild(maps.svgObject);
10814
- if ((currentLayer.layerType === 'OSM' || (currentLayer.urlTemplate.indexOf('openstreetmap') !== -1 && isNullOrUndefined(currentLayer.shapeData)))
10815
- && maps.zoomSettings.enable) {
10816
- isMarkersClustered = clusterTemplate(currentLayer, _this.markerSVGObject, maps, layerIndex, _this.markerSVGObject, layerElement, true, false);
10817
- layerElement.appendChild(_this.markerSVGObject);
10820
+ if (!isNullOrUndefined(markerSettings.dataSource)) {
10821
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
10822
+ Array.prototype.forEach.call(markerData, function (data, dataIndex) {
10823
+ maps.markerNullCount = markerIndex > 0 && dataIndex === 0 ? 0 : maps.markerNullCount;
10824
+ var eventArgs = {
10825
+ cancel: false, name: markerRendering, fill: markerSettings.fill, height: markerSettings.height,
10826
+ width: markerSettings.width, imageUrl: markerSettings.imageUrl, shape: markerSettings.shape,
10827
+ template: markerSettings.template, data: data, maps: maps, marker: markerSettings,
10828
+ border: markerSettings.border, colorValuePath: markerSettings.colorValuePath,
10829
+ shapeValuePath: markerSettings.shapeValuePath, imageUrlValuePath: markerSettings.imageUrlValuePath
10830
+ };
10831
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
10832
+ maps.trigger('markerRendering', eventArgs, function (MarkerArgs) {
10833
+ eventArgs = markerColorChoose(eventArgs, data);
10834
+ eventArgs = markerShapeChoose(eventArgs, data);
10835
+ var lng = (!isNullOrUndefined(markerSettings.longitudeValuePath)) ?
10836
+ Number(getValueFromObject(data, markerSettings.longitudeValuePath)) : !isNullOrUndefined(data['longitude']) ?
10837
+ parseFloat(data['longitude']) : !isNullOrUndefined(data['Longitude']) ? parseFloat(data['Longitude']) : null;
10838
+ var lat = (!isNullOrUndefined(markerSettings.latitudeValuePath)) ?
10839
+ Number(getValueFromObject(data, markerSettings.latitudeValuePath)) : !isNullOrUndefined(data['latitude']) ?
10840
+ parseFloat(data['latitude']) : !isNullOrUndefined(data['Latitude']) ? parseFloat(data['Latitude']) : null;
10841
+ var offset = markerSettings.offset;
10842
+ if (!eventArgs.cancel && markerSettings.visible && !isNullOrUndefined(lng) && !isNullOrUndefined(lat)) {
10843
+ var markerID = maps.element.id + '_LayerIndex_' + layerIndex + '_MarkerIndex_'
10844
+ + markerIndex + '_dataIndex_' + dataIndex;
10845
+ var location_1 = (maps.isTileMap) ? convertTileLatLongToPoint(new MapLocation(lng, lat), factor, maps.tileTranslatePoint, true) : convertGeoToPoint(lat, lng, factor, currentLayer, maps);
10846
+ if (maps.isTileMap) {
10847
+ translatePoint = (currentLayer.type === 'SubLayer' && isNullOrUndefined(maps.zoomModule)) ? location_1 = convertTileLatLongToPoint(new MapLocation(lng, lat), maps.tileZoomLevel, maps.tileTranslatePoint, true) : new Object();
10818
10848
  }
10819
- else {
10820
- isMarkersClustered = clusterTemplate(currentLayer, _this.markerSVGObject, maps, layerIndex, _this.markerSVGObject, layerElement, true, false);
10849
+ var scale = type === 'AddMarker' ? maps.scale : translatePoint['scale'];
10850
+ var transPoint = type === 'AddMarker' ? maps.translatePoint : translatePoint['location'];
10851
+ if (eventArgs.template && (!isNaN(location_1.x) && !isNaN(location_1.y))) {
10852
+ markerTemplateCount++;
10853
+ markerTemplate(eventArgs, templateFn, markerID, data, markerIndex, markerTemplateEle, location_1, transPoint, scale, offset, maps);
10854
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
10855
+ maps.renderReactTemplates();
10856
+ }
10857
+ else if (!eventArgs.template && (!isNaN(location_1.x) && !isNaN(location_1.y))) {
10858
+ markerCount++;
10859
+ marker(eventArgs, markerSettings, markerData, dataIndex, location_1, transPoint, markerID, offset, scale, maps, _this.markerSVGObject);
10821
10860
  }
10822
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
10823
- maps.renderReactTemplates();
10824
10861
  }
10825
- }
10826
- if (markerTemplateEle.childElementCount === (markerDataLength - markerCount - nullCount) && getElementByID(maps.element.id + '_Secondary_Element')) {
10827
- getElementByID(maps.element.id + '_Secondary_Element').appendChild(markerTemplateEle);
10828
- if (maps.checkInitialRender) {
10829
- if (currentLayer.markerClusterSettings.allowClustering && !isMarkersClustered) {
10830
- clusterTemplate(currentLayer, markerTemplateEle, maps, layerIndex, _this.markerSVGObject, layerElement, false, false);
10862
+ nullCount += (!isNaN(lat) && !isNaN(lng)) ? 0 : 1;
10863
+ markerTemplateCount += (eventArgs.cancel) ? 1 : 0;
10864
+ markerCount += (eventArgs.cancel) ? 1 : 0;
10865
+ maps.markerNullCount = (isNullOrUndefined(lng) || isNullOrUndefined(lat)) ?
10866
+ maps.markerNullCount + 1 : maps.markerNullCount;
10867
+ var markerDataLength = markerData.length - maps.markerNullCount;
10868
+ var isMarkersClustered = false;
10869
+ if (_this.markerSVGObject.childElementCount === (markerDataLength - markerTemplateCount - nullCount) && (type !== 'Template')) {
10870
+ layerElement.appendChild(_this.markerSVGObject);
10871
+ if (currentLayer.markerClusterSettings.allowClustering) {
10872
+ maps.svgObject.appendChild(_this.markerSVGObject);
10873
+ maps.element.appendChild(maps.svgObject);
10874
+ if ((currentLayer.urlTemplate.indexOf('openstreetmap') !== -1 && isNullOrUndefined(currentLayer.shapeData))
10875
+ && maps.zoomSettings.enable) {
10876
+ isMarkersClustered = clusterTemplate(currentLayer, _this.markerSVGObject, maps, layerIndex, _this.markerSVGObject, layerElement, true, false);
10877
+ layerElement.appendChild(_this.markerSVGObject);
10878
+ }
10879
+ else {
10880
+ isMarkersClustered = clusterTemplate(currentLayer, _this.markerSVGObject, maps, layerIndex, _this.markerSVGObject, layerElement, true, false);
10881
+ }
10831
10882
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
10832
10883
  maps.renderReactTemplates();
10833
10884
  }
10834
10885
  }
10835
- }
10886
+ if (markerTemplateEle.childElementCount === (markerDataLength - markerCount - nullCount) && getElementByID(maps.element.id + '_Secondary_Element')) {
10887
+ getElementByID(maps.element.id + '_Secondary_Element').appendChild(markerTemplateEle);
10888
+ if (maps.checkInitialRender) {
10889
+ if (currentLayer.markerClusterSettings.allowClustering && !isMarkersClustered) {
10890
+ clusterTemplate(currentLayer, markerTemplateEle, maps, layerIndex, _this.markerSVGObject, layerElement, false, false);
10891
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
10892
+ maps.renderReactTemplates();
10893
+ }
10894
+ }
10895
+ }
10896
+ });
10836
10897
  });
10837
- });
10898
+ }
10838
10899
  });
10839
10900
  };
10840
10901
  /**
@@ -10891,35 +10952,37 @@ var Marker = /** @__PURE__ @class */ (function () {
10891
10952
  Array.prototype.forEach.call(currentLayer.markerSettings, function (markerSetting) {
10892
10953
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
10893
10954
  var markerData = markerSetting.dataSource;
10894
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
10895
- Array.prototype.forEach.call(markerData, function (data, dataIndex) {
10896
- var latitude = !isNullOrUndefined(data['latitude']) ? parseFloat(data['latitude']) :
10897
- !isNullOrUndefined(data['Latitude']) ? parseFloat(data['Latitude']) : null;
10898
- var longitude = !isNullOrUndefined(data['longitude']) ? parseFloat(data['longitude']) :
10899
- !isNullOrUndefined(data['Longitude']) ? parseFloat(data['Longitude']) : null;
10900
- if (!isNullOrUndefined(latitude) && !isNullOrUndefined(longitude)) {
10901
- minLong_1 = isNullOrUndefined(minLong_1) && dataIndex === 0 ?
10902
- longitude : minLong_1;
10903
- maxLat_1 = isNullOrUndefined(maxLat_1) && dataIndex === 0 ?
10904
- latitude : maxLat_1;
10905
- minLat_1 = isNullOrUndefined(minLat_1) && dataIndex === 0 ?
10906
- latitude : minLat_1;
10907
- maxLong_1 = isNullOrUndefined(maxLong_1) && dataIndex === 0 ?
10908
- longitude : maxLong_1;
10909
- if (minLong_1 > longitude) {
10910
- minLong_1 = longitude;
10911
- }
10912
- if (minLat_1 > latitude) {
10913
- minLat_1 = latitude;
10914
- }
10915
- if (maxLong_1 < longitude) {
10916
- maxLong_1 = longitude;
10917
- }
10918
- if (maxLat_1 < latitude) {
10919
- maxLat_1 = latitude;
10955
+ if (!isNullOrUndefined(markerData) && markerData.length > 0) {
10956
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
10957
+ Array.prototype.forEach.call(markerData, function (data, dataIndex) {
10958
+ var latitude = !isNullOrUndefined(data['latitude']) ? parseFloat(data['latitude']) :
10959
+ !isNullOrUndefined(data['Latitude']) ? parseFloat(data['Latitude']) : null;
10960
+ var longitude = !isNullOrUndefined(data['longitude']) ? parseFloat(data['longitude']) :
10961
+ !isNullOrUndefined(data['Longitude']) ? parseFloat(data['Longitude']) : null;
10962
+ if (!isNullOrUndefined(latitude) && !isNullOrUndefined(longitude)) {
10963
+ minLong_1 = isNullOrUndefined(minLong_1) && dataIndex === 0 ?
10964
+ longitude : minLong_1;
10965
+ maxLat_1 = isNullOrUndefined(maxLat_1) && dataIndex === 0 ?
10966
+ latitude : maxLat_1;
10967
+ minLat_1 = isNullOrUndefined(minLat_1) && dataIndex === 0 ?
10968
+ latitude : minLat_1;
10969
+ maxLong_1 = isNullOrUndefined(maxLong_1) && dataIndex === 0 ?
10970
+ longitude : maxLong_1;
10971
+ if (minLong_1 > longitude) {
10972
+ minLong_1 = longitude;
10973
+ }
10974
+ if (minLat_1 > latitude) {
10975
+ minLat_1 = latitude;
10976
+ }
10977
+ if (maxLong_1 < longitude) {
10978
+ maxLong_1 = longitude;
10979
+ }
10980
+ if (maxLat_1 < latitude) {
10981
+ maxLat_1 = latitude;
10982
+ }
10920
10983
  }
10921
- }
10922
- });
10984
+ });
10985
+ }
10923
10986
  });
10924
10987
  }
10925
10988
  });
@@ -11107,19 +11170,19 @@ var Marker = /** @__PURE__ @class */ (function () {
11107
11170
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11108
11171
  var markCollection = [];
11109
11172
  var clusterCollection = [];
11110
- var marker$$1;
11173
+ var marker;
11111
11174
  this.maps.markerClusterExpand = layer.markerClusterSettings.allowClusterExpand;
11112
11175
  if (target.indexOf('_MarkerIndex_') > -1) {
11113
11176
  var markerIndex = parseInt(id[1].split('_MarkerIndex_')[1].split('_')[0], 10);
11114
11177
  var dataIndex = parseInt(id[1].split('_dataIndex_')[1].split('_')[0], 10);
11115
- marker$$1 = layer.markerSettings[markerIndex];
11178
+ marker = layer.markerSettings[markerIndex];
11116
11179
  if (!isNaN(markerIndex)) {
11117
- data = marker$$1.dataSource[dataIndex];
11180
+ data = marker.dataSource[dataIndex];
11118
11181
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11119
11182
  var collection_1 = [];
11120
- if (!marker$$1.template && (target.indexOf('_cluster_') > -1) && (this.maps.layers[index].markerClusterSettings.allowClusterExpand)) {
11183
+ if (!marker.template && (target.indexOf('_cluster_') > -1) && (this.maps.layers[index].markerClusterSettings.allowClusterExpand)) {
11121
11184
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11122
- Array.prototype.forEach.call(marker$$1.dataSource, function (location, index) {
11185
+ Array.prototype.forEach.call(marker.dataSource, function (location, index) {
11123
11186
  if (location['latitude'] === data['latitude'] && location['longitude'] === data['longitude']) {
11124
11187
  collection_1.push({ data: data, index: index });
11125
11188
  }
@@ -11132,8 +11195,8 @@ var Marker = /** @__PURE__ @class */ (function () {
11132
11195
  collection_1 = [];
11133
11196
  for (var _i = 0, indexes_1 = indexes; _i < indexes_1.length; _i++) {
11134
11197
  var i = indexes_1[_i];
11135
- collection_1.push({ data: marker$$1.dataSource[i], index: i });
11136
- markCollection.push(marker$$1.dataSource[i]);
11198
+ collection_1.push({ data: marker.dataSource[i], index: i });
11199
+ markCollection.push(marker.dataSource[i]);
11137
11200
  }
11138
11201
  isClusterSame = false;
11139
11202
  clusterCollection.push({
@@ -11142,7 +11205,7 @@ var Marker = /** @__PURE__ @class */ (function () {
11142
11205
  isClusterSame: isClusterSame
11143
11206
  });
11144
11207
  }
11145
- return { marker: marker$$1, data: data, clusterCollection: clusterCollection, markCollection: markCollection };
11208
+ return { marker: marker, data: data, clusterCollection: clusterCollection, markCollection: markCollection };
11146
11209
  }
11147
11210
  }
11148
11211
  return null;
@@ -11262,12 +11325,14 @@ var Polygon = /** @__PURE__ @class */ (function () {
11262
11325
  id: maps.element.id + '_LayerIndex_' + layerIndex + '_Polygons_Group_' + polygonIndex
11263
11326
  });
11264
11327
  var polygonData = polygonSetting.points;
11265
- var path = calculatePolygonPath(maps, factor, currentLayer, polygonData);
11266
- var pathOptions = new PathOption(maps.element.id + '_LayerIndex_' + layerIndex + '_PolygonIndex_' + polygonIndex, polygonSetting.fill, (polygonSetting.borderWidth / factor), polygonSetting.borderColor, polygonSetting.opacity, polygonSetting.borderOpacity, '', path);
11267
- var polygonEle = maps.renderer.drawPath(pathOptions);
11268
- maintainSelection(maps.selectedPolygonElementId, maps.polygonSelectionClass, polygonEle, 'PolygonselectionMapStyle');
11269
- polygonSVGObject.appendChild(polygonEle);
11270
- polygonsSVGObject.appendChild(polygonSVGObject);
11328
+ if (!isNullOrUndefined(polygonSetting.points) && polygonSetting.points.length > 0) {
11329
+ var path = calculatePolygonPath(maps, factor, currentLayer, polygonData);
11330
+ var pathOptions = new PathOption(maps.element.id + '_LayerIndex_' + layerIndex + '_PolygonIndex_' + polygonIndex, polygonSetting.fill, (polygonSetting.borderWidth / factor), polygonSetting.borderColor, polygonSetting.opacity, polygonSetting.borderOpacity, '', path);
11331
+ var polygonEle = maps.renderer.drawPath(pathOptions);
11332
+ maintainSelection(maps.selectedPolygonElementId, maps.polygonSelectionClass, polygonEle, 'PolygonselectionMapStyle');
11333
+ polygonSVGObject.appendChild(polygonEle);
11334
+ polygonsSVGObject.appendChild(polygonSVGObject);
11335
+ }
11271
11336
  });
11272
11337
  return polygonsSVGObject;
11273
11338
  };
@@ -11306,7 +11371,7 @@ var DataLabel = /** @__PURE__ @class */ (function () {
11306
11371
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11307
11372
  var text;
11308
11373
  var shapeNameValue;
11309
- for (var i = 0; i < dataSource.length; i++) {
11374
+ for (var i = 0; i < (isNullOrUndefined(dataSource) ? 0 : dataSource.length); i++) {
11310
11375
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11311
11376
  var data = dataSource[i];
11312
11377
  var dataShapePathValue = !isNullOrUndefined(data[shapeDataPath]) && isNaN(data[shapeDataPath]) &&
@@ -11369,17 +11434,17 @@ var DataLabel = /** @__PURE__ @class */ (function () {
11369
11434
  var locationX;
11370
11435
  var locationY;
11371
11436
  style.fontFamily = this.maps.theme.toLowerCase() !== 'material' ? this.maps.themeStyle.labelFontFamily : style.fontFamily;
11372
- style.fontWeight = style.fontWeight || this.maps.themeStyle.fontWeight || Theme.dataLabelFont.fontWeight;
11437
+ style.fontWeight = style.fontWeight || this.maps.themeStyle.fontWeight;
11438
+ style.size = style.size || this.maps.themeStyle.fontSize;
11373
11439
  shape = !isNullOrUndefined(shapes) ? shapes['property'] : null;
11374
11440
  var properties = (Object.prototype.toString.call(layer.shapePropertyPath) === '[object Array]' ?
11375
11441
  layer.shapePropertyPath : [layer.shapePropertyPath]);
11376
11442
  var propertyPath;
11377
- var isPoint = false;
11378
- var animate$$1 = (layer.animationDuration !== 0 || animationMode === 'Enable') || isNullOrUndefined(this.maps.zoomModule);
11443
+ var animate = (layer.animationDuration !== 0 || animationMode === 'Enable') || isNullOrUndefined(this.maps.zoomModule);
11379
11444
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11380
11445
  var translate = (this.maps.isTileMap) ? new Object() : ((this.maps.zoomSettings.zoomFactor > 1 &&
11381
- !isNullOrUndefined(this.maps.zoomModule)) ? getZoomTranslate(this.maps, layer, animate$$1) :
11382
- getTranslate(this.maps, layer, animate$$1));
11446
+ !isNullOrUndefined(this.maps.zoomModule)) ? getZoomTranslate(this.maps, layer, animate) :
11447
+ getTranslate(this.maps, layer, animate));
11383
11448
  var scale = (this.maps.isTileMap) ? this.maps.scale : translate['scale'];
11384
11449
  var transPoint = (this.maps.isTileMap) ? this.maps.translatePoint : translate['location'];
11385
11450
  var zoomTransPoint = this.maps.zoomTranslatePoint;
@@ -11430,7 +11495,7 @@ var DataLabel = /** @__PURE__ @class */ (function () {
11430
11495
  text = (!isNullOrUndefined(datasrcObj)) ? !isNullOrUndefined(datasrcObj[labelpath]) ?
11431
11496
  datasrcObj[labelpath].toString() : datasrcObj[layer.shapeDataPath] : shapeData['properties'][labelpath];
11432
11497
  if ((Object.prototype.toString.call(layer.shapePropertyPath) === '[object Array]') &&
11433
- (isNullOrUndefined(text) && layer.dataSource['length'] === 0)) {
11498
+ (isNullOrUndefined(text) && (!isNullOrUndefined(layer.dataSource) && layer.dataSource['length'] === 0))) {
11434
11499
  for (var l = 0; l < layer.shapePropertyPath.length; l++) {
11435
11500
  if (shapeData['properties'][layer.shapePropertyPath[l]]) {
11436
11501
  text = shapeData['properties'][layer.shapePropertyPath[l]];
@@ -11441,20 +11506,12 @@ var DataLabel = /** @__PURE__ @class */ (function () {
11441
11506
  if (isNullOrUndefined(text) && (layer.dataLabelSettings.template !== '' && layer.dataSource['length'] === 0)) {
11442
11507
  text = shapeData['properties'][layer.shapePropertyPath];
11443
11508
  }
11444
- if (isNullOrUndefined(text) && layer.dataSource['length'] > 0) {
11509
+ if (isNullOrUndefined(text) && (!isNullOrUndefined(layer.dataSource) && layer.dataSource['length'] > 0)) {
11445
11510
  text = '';
11446
11511
  }
11447
11512
  var dataLabelText = text;
11448
11513
  var projectionType = this.maps.projectionType;
11449
- if (isPoint) {
11450
- location = {
11451
- x: shapePoint[midIndex][index]['x'], y: shapePoint[midIndex][index]['y'],
11452
- rightMin: 0, rightMax: 0, leftMin: 0, leftMax: 0,
11453
- points: shapePoint[midIndex][index], topMax: 0, topMin: 0,
11454
- bottomMax: 0, bottomMin: 0, height: 0
11455
- };
11456
- }
11457
- else {
11514
+ {
11458
11515
  location = findMidPointOfPolygon(shapePoint[midIndex], projectionType, layer.geometryType);
11459
11516
  }
11460
11517
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -11513,7 +11570,7 @@ var DataLabel = /** @__PURE__ @class */ (function () {
11513
11570
  var start = ((location['y'] + transPoint['y']) * scale) - textSize['height'] / 2;
11514
11571
  var end = ((location['y'] + transPoint['y']) * scale) + textSize['height'] / 2;
11515
11572
  position = filter(shapePoint[midIndex], startY, endY);
11516
- if (!isPoint && position.length > 5 && (shapeData['geometry']['type'] !== 'MultiPolygon') &&
11573
+ if ( position.length > 5 && (shapeData['geometry']['type'] !== 'MultiPolygon') &&
11517
11574
  (shapeData['type'] !== 'MultiPolygon')) {
11518
11575
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11519
11576
  var location1 = findMidPointOfPolygon(position, projectionType, layer.geometryType);
@@ -11796,7 +11853,7 @@ var NavigationLine = /** @__PURE__ @class */ (function () {
11796
11853
  dashArray = navigation[i].dashArray;
11797
11854
  arrowSettings = navigation[i].arrowSettings;
11798
11855
  showArrow = !isNullOrUndefined(arrowSettings) ? arrowSettings.showArrow : false;
11799
- if (longitude.length === latitude.length && visible) {
11856
+ if (!isNullOrUndefined(longitude) && !isNullOrUndefined(latitude) && longitude.length === latitude.length && visible) {
11800
11857
  for (var i_1 = 0; i_1 < longitude.length; i_1++) {
11801
11858
  var location_1 = (this.maps.isTileMap) ? convertTileLatLongToPoint(new Point(longitude[i_1], latitude[i_1]), factor, this.maps.tileTranslatePoint, true) : convertGeoToPoint(latitude[i_1], longitude[i_1], factor, layer, this.maps);
11802
11859
  point.push(location_1);
@@ -12402,8 +12459,8 @@ var Legend = /** @__PURE__ @class */ (function () {
12402
12459
  }
12403
12460
  if (legend.type === 'Markers' && legend.useMarkerShape) {
12404
12461
  var legendShapeData = this.legendCollection[collection['idIndex']].data[0];
12405
- var marker$$1 = map.layers[legendShapeData['layerIndex']].markerSettings[legendShapeData['markerIndex']];
12406
- legendShape = !isNullOrUndefined(marker$$1.dataSource[legendShapeData['dataIndex']][marker$$1['shapeValuePath']]) && marker$$1.dataSource[legendShapeData['dataIndex']][marker$$1['shapeValuePath']] !== '' ? marker$$1.dataSource[legendShapeData['dataIndex']][marker$$1['shapeValuePath']] : marker$$1.shape;
12462
+ var marker = map.layers[legendShapeData['layerIndex']].markerSettings[legendShapeData['markerIndex']];
12463
+ legendShape = !isNullOrUndefined(marker.dataSource[legendShapeData['dataIndex']][marker['shapeValuePath']]) && marker.dataSource[legendShapeData['dataIndex']][marker['shapeValuePath']] !== '' ? marker.dataSource[legendShapeData['dataIndex']][marker['shapeValuePath']] : marker.shape;
12407
12464
  }
12408
12465
  if (legendShape === 'Balloon') {
12409
12466
  legendElement.appendChild(drawBalloon(map, renderOptions, shapeSize, { x: shapeLocation.x, y: (shapeLocation.y + 5) }, 'Legend'));
@@ -12529,7 +12586,9 @@ var Legend = /** @__PURE__ @class */ (function () {
12529
12586
  }
12530
12587
  else {
12531
12588
  var layerIndex = currentItem[currentItem.length - 1].layerIndex;
12532
- this.setToggleAttributes(legendTextElement, legendShapeElement, this.maps.layers[layerIndex].shapeSettings.fill, this.maps.layers[layerIndex].shapeSettings.opacity, this.maps.layers[layerIndex].shapeSettings.border.color, isNullOrUndefined(this.maps.layers[layerIndex].shapeSettings.border.width)
12589
+ this.setToggleAttributes(legendTextElement, legendShapeElement, this.maps.layers[layerIndex].shapeSettings.fill, this.maps.layers[layerIndex].shapeSettings.opacity,
12590
+ /* eslint-disable-next-line max-len */
12591
+ this.maps.layers[layerIndex].shapeSettings.border.color || this.maps.themeStyle.shapeBorderColor, isNullOrUndefined(this.maps.layers[layerIndex].shapeSettings.border.width)
12533
12592
  ? 0 : this.maps.layers[layerIndex].shapeSettings.border.width, isNullOrUndefined(this.maps.layers[layerIndex].shapeSettings.border.opacity)
12534
12593
  ? this.maps.layers[layerIndex].shapeSettings.opacity
12535
12594
  : this.maps.layers[layerIndex].shapeSettings.border.opacity, this.maps.layers[layerIndex].shapeSettings.fill);
@@ -12728,7 +12787,7 @@ var Legend = /** @__PURE__ @class */ (function () {
12728
12787
  collection.push({
12729
12788
  legendElement: targetElement, legendOldFill: oldElement['fill'], legendOldOpacity: oldElement['opacity'],
12730
12789
  legendOldBorderColor: oldElement['borderColor'], legendOldBorderWidth: oldElement['borderWidth'],
12731
- shapeOpacity: shapeSettings.opacity, shapeOldBorderColor: shapeSettings.border.color,
12790
+ shapeOpacity: shapeSettings.opacity, shapeOldBorderColor: shapeSettings.border.color || this.maps.themeStyle.shapeBorderColor,
12732
12791
  shapeOldBorderWidth: shapeSettings.border.width
12733
12792
  });
12734
12793
  var length = collection.length;
@@ -13205,7 +13264,8 @@ var Legend = /** @__PURE__ @class */ (function () {
13205
13264
  this.legendBorderRect = new Rect((this.legendItemRect.x - spacing), (this.legendItemRect.y - spacing - textSize.height), (this.legendItemRect.width) + (spacing * 2), (this.legendItemRect.height) + (spacing * 2) + textSize.height +
13206
13265
  (legend.mode === 'Interactive' ? 0 : (this.page !== 0) ? spacing : 0));
13207
13266
  var legendBorder = {
13208
- color: legend.border.color, width: legend.border.width, opacity: legend.border.opacity
13267
+ color: legend.border.color || this.maps.themeStyle.legendBorderColor, opacity: legend.border.opacity,
13268
+ width: legend.border.width || this.maps.themeStyle.legendBorderWidth
13209
13269
  };
13210
13270
  legendBorder.opacity = isNullOrUndefined(legendBorder.opacity) ? 1 : legendBorder.opacity;
13211
13271
  var renderOptions = new RectOption(map.element.id + '_Legend_Border', legend.background, legendBorder, 1, this.legendBorderRect, null, null, '', '');
@@ -13321,10 +13381,10 @@ var Legend = /** @__PURE__ @class */ (function () {
13321
13381
  };
13322
13382
  Legend.prototype.getMarkersLegendCollections = function (layerIndex, markers) {
13323
13383
  var _this = this;
13324
- Array.prototype.forEach.call(markers, function (marker$$1, markerIndex) {
13384
+ Array.prototype.forEach.call(markers, function (marker, markerIndex) {
13325
13385
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13326
- var dataSource = marker$$1.dataSource;
13327
- var field = marker$$1.legendText;
13386
+ var dataSource = marker.dataSource;
13387
+ var field = marker.legendText;
13328
13388
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13329
13389
  var templateFn;
13330
13390
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -13332,9 +13392,9 @@ var Legend = /** @__PURE__ @class */ (function () {
13332
13392
  var imageSrc = null;
13333
13393
  var showLegend = isNullOrUndefined(data[_this.maps.legendSettings.showLegendPath]) ? true :
13334
13394
  data[_this.maps.legendSettings.showLegendPath];
13335
- if (marker$$1.visible && showLegend && (!isNullOrUndefined(data['latitude'])) && (!isNullOrUndefined(data['longitude']))) {
13336
- if (marker$$1.template) {
13337
- templateFn = getTemplateFunction(marker$$1.template, _this.maps);
13395
+ if (marker.visible && showLegend && (!isNullOrUndefined(data['latitude'])) && (!isNullOrUndefined(data['longitude']))) {
13396
+ if (marker.template) {
13397
+ templateFn = getTemplateFunction(marker.template, _this.maps);
13338
13398
  var templateElement = templateFn(_this.maps);
13339
13399
  var markerEle = isNullOrUndefined(templateElement.childElementCount) ? templateElement[0] :
13340
13400
  templateElement;
@@ -13342,7 +13402,7 @@ var Legend = /** @__PURE__ @class */ (function () {
13342
13402
  imageSrc = markerEle.querySelector('img').src;
13343
13403
  }
13344
13404
  var text = isNullOrUndefined(data[field]) ? '' : data[field];
13345
- var legendFill = !isNullOrUndefined(marker$$1.colorValuePath) ? data[marker$$1.colorValuePath] : marker$$1.fill;
13405
+ var legendFill = !isNullOrUndefined(marker.colorValuePath) ? data[marker.colorValuePath] : marker.fill;
13346
13406
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13347
13407
  var newData = [];
13348
13408
  if (_this.maps.legendSettings.removeDuplicateLegend) {
@@ -13352,7 +13412,7 @@ var Legend = /** @__PURE__ @class */ (function () {
13352
13412
  else {
13353
13413
  newData.push({ layerIndex: layerIndex, markerIndex: markerIndex, dataIndex: dataIndex, value: legendFill,
13354
13414
  name: text,
13355
- shape: (!isNullOrUndefined(marker$$1.shapeValuePath) && !isNullOrUndefined(data[marker$$1.shapeValuePath]) && data[marker$$1.shapeValuePath] !== '') ? data[marker$$1.shapeValuePath] : (_this.maps.legendSettings.useMarkerShape ? marker$$1.shape : _this.maps.legendSettings.shape) });
13415
+ shape: (!isNullOrUndefined(marker.shapeValuePath) && !isNullOrUndefined(data[marker.shapeValuePath]) && data[marker.shapeValuePath] !== '') ? data[marker.shapeValuePath] : (_this.maps.legendSettings.useMarkerShape ? marker.shape : _this.maps.legendSettings.shape) });
13356
13416
  _this.getOverallLegendItemsCollection(text, legendFill, newData, showLegend);
13357
13417
  }
13358
13418
  }
@@ -13369,10 +13429,10 @@ var Legend = /** @__PURE__ @class */ (function () {
13369
13429
  var markerData = markerSettings.dataSource;
13370
13430
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13371
13431
  Array.prototype.forEach.call(markerData, function (data, dataIndex) {
13372
- var marker$$1 = _this.maps.layers[layerIndex].markerSettings[markerIndex];
13373
- if ((text === data[marker$$1.legendText] || text === '') && legendFill === (data[marker$$1.colorValuePath] || marker$$1.fill)) {
13432
+ var marker = _this.maps.layers[layerIndex].markerSettings[markerIndex];
13433
+ if ((text === data[marker.legendText] || text === '') && legendFill === (data[marker.colorValuePath] || marker.fill)) {
13374
13434
  legendData.push({ layerIndex: layerIndex, markerIndex: markerIndex, dataIndex: dataIndex, value: legendFill, name: text,
13375
- shape: !isNullOrUndefined(marker$$1.shapeValuePath) ? data[marker$$1.shapeValuePath] : marker$$1.shape });
13435
+ shape: !isNullOrUndefined(marker.shapeValuePath) ? data[marker.shapeValuePath] : marker.shape });
13376
13436
  }
13377
13437
  });
13378
13438
  });
@@ -13392,15 +13452,17 @@ var Legend = /** @__PURE__ @class */ (function () {
13392
13452
  legendText = !isNullOrUndefined(colorMap.label) ? colorMap.label : colorMap.from + ' - ' + colorMap.to;
13393
13453
  rangeData = [];
13394
13454
  var colorMapProcess_1 = false;
13395
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
13396
- Array.prototype.forEach.call(dataSource, function (data, dataIndex) {
13397
- var colorValue = (colorValuePath.indexOf('.') > -1) ? Number(getValueFromObject(data, colorValuePath)) :
13398
- parseFloat(data[colorValuePath]);
13399
- if (colorValue >= colorMap.from && colorValue <= colorMap.to) {
13400
- colorMapProcess_1 = true;
13401
- rangeData.push(_this.getLegendData(layerIndex, dataIndex, data, dataPath, layerData, propertyPath, colorValue));
13402
- }
13403
- });
13455
+ if (!isNullOrUndefined(dataSource) && dataSource.length > 0) {
13456
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
13457
+ Array.prototype.forEach.call(dataSource, function (data, dataIndex) {
13458
+ var colorValue = (colorValuePath.indexOf('.') > -1) ? Number(getValueFromObject(data, colorValuePath)) :
13459
+ parseFloat(data[colorValuePath]);
13460
+ if (colorValue >= colorMap.from && colorValue <= colorMap.to) {
13461
+ colorMapProcess_1 = true;
13462
+ rangeData.push(_this.getLegendData(layerIndex, dataIndex, data, dataPath, layerData, propertyPath, colorValue));
13463
+ }
13464
+ });
13465
+ }
13404
13466
  if (!colorMapProcess_1) {
13405
13467
  rangeData.push({
13406
13468
  layerIndex: layerIndex, shapeIndex: null, dataIndex: null,
@@ -13488,23 +13550,25 @@ var Legend = /** @__PURE__ @class */ (function () {
13488
13550
  legendText = !isNullOrUndefined(colorMap.label) ? colorMap.label : colorMap.value;
13489
13551
  equalData = [];
13490
13552
  var eqaulColorProcess_1 = false;
13491
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
13492
- Array.prototype.forEach.call(dataSource, function (data, dataIndex) {
13493
- var equalValue = ((colorValuePath.indexOf('.') > -1) ? (getValueFromObject(data, colorValuePath)) :
13494
- (data[colorValuePath]));
13495
- if (equalValue === colorMap.value) {
13496
- eqaulColorProcess_1 = true;
13497
- if (equalValues.indexOf(equalValue) === -1) {
13498
- equalValues.push(equalValue);
13553
+ if (!isNullOrUndefined(dataSource) && dataSource.length > 0) {
13554
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
13555
+ Array.prototype.forEach.call(dataSource, function (data, dataIndex) {
13556
+ var equalValue = ((colorValuePath.indexOf('.') > -1) ? (getValueFromObject(data, colorValuePath)) :
13557
+ (data[colorValuePath]));
13558
+ if (equalValue === colorMap.value) {
13559
+ eqaulColorProcess_1 = true;
13560
+ if (equalValues.indexOf(equalValue) === -1) {
13561
+ equalValues.push(equalValue);
13562
+ }
13563
+ equalData.push(_this.getLegendData(layerIndex, dataIndex, data, dataPath, layerData, propertyPath, equalValue));
13499
13564
  }
13500
- equalData.push(_this.getLegendData(layerIndex, dataIndex, data, dataPath, layerData, propertyPath, equalValue));
13501
- }
13502
- else {
13503
- if (outOfRangeValues.indexOf(equalValue) === -1) {
13504
- outOfRangeValues.push(equalValue);
13565
+ else {
13566
+ if (outOfRangeValues.indexOf(equalValue) === -1) {
13567
+ outOfRangeValues.push(equalValue);
13568
+ }
13505
13569
  }
13506
- }
13507
- });
13570
+ });
13571
+ }
13508
13572
  for (var x = 0; x < equalValues.length; x++) {
13509
13573
  for (var y = 0; y < outOfRangeValues.length; y++) {
13510
13574
  if (equalValues[x] === outOfRangeValues[y]) {
@@ -13771,7 +13835,7 @@ var Legend = /** @__PURE__ @class */ (function () {
13771
13835
  if (isVisible && mapElement !== null) {
13772
13836
  if (this.maps.legendSettings.toggleLegendSettings.applyShapeSettings) {
13773
13837
  mapElement.setAttribute('fill', this.maps.layers[k].shapeSettings.fill);
13774
- mapElement.setAttribute('stroke', this.maps.layers[k].shapeSettings.border.color);
13838
+ mapElement.setAttribute('stroke', this.maps.layers[k].shapeSettings.border.color || this.maps.themeStyle.shapeBorderColor);
13775
13839
  mapElement.setAttribute('fill-opacity', (this.maps.layers[k].shapeSettings.opacity).toString());
13776
13840
  mapElement.setAttribute('stroke-width', (isNullOrUndefined(this.maps.layers[k].shapeSettings.border.width) ? 0 : this.maps.layers[k].shapeSettings.border.width).toString());
13777
13841
  mapElement.setAttribute('stroke-opacity', (isNullOrUndefined(this.maps.layers[k].shapeSettings.border.opacity) ?
@@ -13801,7 +13865,9 @@ var Legend = /** @__PURE__ @class */ (function () {
13801
13865
  this.setToggleAttributes(legendTextId, legendShapeId, legendToggleFill, legendToggleOpacity, legendToggleBorderColor, legendToggleBorderWidth, legendToggleBorderOpacity, legendToggleFill);
13802
13866
  }
13803
13867
  else {
13804
- this.setToggleAttributes(legendTextId, legendShapeId, this.maps.layers[k].shapeSettings.fill, this.maps.layers[k].shapeSettings.opacity, this.maps.layers[k].shapeSettings.border.color, isNullOrUndefined(this.maps.layers[k].shapeSettings.border.width)
13868
+ this.setToggleAttributes(legendTextId, legendShapeId, this.maps.layers[k].shapeSettings.fill, this.maps.layers[k].shapeSettings.opacity,
13869
+ /* eslint-disable-next-line max-len */
13870
+ this.maps.layers[k].shapeSettings.border.color || this.maps.themeStyle.shapeBorderColor, isNullOrUndefined(this.maps.layers[k].shapeSettings.border.width)
13805
13871
  ? 0 : this.maps.layers[k].shapeSettings.border.width,
13806
13872
  /* eslint-disable-next-line max-len */
13807
13873
  isNullOrUndefined(this.maps.layers[k].shapeSettings.border.opacity)
@@ -13858,7 +13924,7 @@ var Legend = /** @__PURE__ @class */ (function () {
13858
13924
  if (this.maps.legendSettings.toggleLegendSettings.applyShapeSettings) {
13859
13925
  layerElement.setAttribute('fill', this.maps.layers[j].shapeSettings.fill);
13860
13926
  layerElement.setAttribute('fill-opacity', (this.maps.layers[j].shapeSettings.opacity).toString());
13861
- layerElement.setAttribute('stroke', this.maps.layers[j].shapeSettings.border.color);
13927
+ layerElement.setAttribute('stroke', this.maps.layers[j].shapeSettings.border.color || this.maps.themeStyle.shapeBorderColor);
13862
13928
  layerElement.setAttribute('stroke-width', (isNullOrUndefined(this.maps.layers[j].shapeSettings.border.width) ? 0 : this.maps.layers[j].shapeSettings.border.width).toString());
13863
13929
  layerElement.setAttribute('stroke-opacity', (isNullOrUndefined(this.maps.layers[j].shapeSettings.border.opacity) ?
13864
13930
  this.maps.layers[j].shapeSettings.opacity :
@@ -13878,7 +13944,9 @@ var Legend = /** @__PURE__ @class */ (function () {
13878
13944
  this.setToggleAttributes(legendTextId, legendShapeId, legendToggleFill, legendToggleOpacity, legendToggleBorderColor, legendToggleBorderWidth, legendToggleBorderOpacity, legendToggleFill);
13879
13945
  }
13880
13946
  else {
13881
- this.setToggleAttributes(legendTextId, legendShapeId, this.maps.layers[j].shapeSettings.fill, this.maps.layers[j].shapeSettings.opacity, this.maps.layers[j].shapeSettings.border.color, isNullOrUndefined(this.maps.layers[j].shapeSettings.border.width)
13947
+ this.setToggleAttributes(legendTextId, legendShapeId, this.maps.layers[j].shapeSettings.fill, this.maps.layers[j].shapeSettings.opacity,
13948
+ /* eslint-disable-next-line max-len */
13949
+ this.maps.layers[j].shapeSettings.border.color || this.maps.themeStyle.shapeBorderColor, isNullOrUndefined(this.maps.layers[j].shapeSettings.border.width)
13882
13950
  ? 0 : this.maps.layers[j].shapeSettings.border.width,
13883
13951
  /* eslint-disable-next-line max-len */
13884
13952
  isNullOrUndefined(this.maps.layers[j].shapeSettings.border.opacity)
@@ -13900,7 +13968,7 @@ var Legend = /** @__PURE__ @class */ (function () {
13900
13968
  this.maps.layers[j].shapeSettings.border.opacity).toString());
13901
13969
  layerElement.setAttribute('stroke-width', (isNullOrUndefined(this.maps.layers[j].shapeSettings.border.width) ? 0 : this.maps.layers[j].shapeSettings.border.width).toString());
13902
13970
  layerElement.setAttribute('fill-opacity', (this.maps.layers[j].shapeSettings.opacity).toString());
13903
- layerElement.setAttribute('stroke', this.maps.layers[j].shapeSettings.border.color);
13971
+ layerElement.setAttribute('stroke', this.maps.layers[j].shapeSettings.border.color || this.maps.themeStyle.shapeBorderColor);
13904
13972
  if (targetEle !== null) {
13905
13973
  legendTextId = querySelector(this.maps.element.id + '_Legend_Text_Index_' + legendIndex, this.maps.element.id);
13906
13974
  legendShapeId = querySelector(this.maps.element.id + '_Legend_Shape_Index_' + legendIndex, this.maps.element.id);
@@ -13950,7 +14018,7 @@ var Legend = /** @__PURE__ @class */ (function () {
13950
14018
  }
13951
14019
  if (this.maps.legendSettings.toggleLegendSettings.applyShapeSettings) {
13952
14020
  LegendInteractive.setAttribute('fill', this.maps.layers[k].shapeSettings.fill);
13953
- LegendInteractive.setAttribute('stroke', this.maps.layers[k].shapeSettings.border.color);
14021
+ LegendInteractive.setAttribute('stroke', this.maps.layers[k].shapeSettings.border.color || this.maps.themeStyle.shapeBorderColor);
13954
14022
  LegendInteractive.setAttribute('stroke-width', (isNullOrUndefined(this.maps.layers[k].shapeSettings.border.width) ? 0 : this.maps.layers[k].shapeSettings.border.width).toString());
13955
14023
  LegendInteractive.setAttribute('stroke-opacity', (isNullOrUndefined(this.maps.layers[k].shapeSettings.border.opacity) ?
13956
14024
  this.maps.layers[k].shapeSettings.opacity :
@@ -13971,7 +14039,9 @@ var Legend = /** @__PURE__ @class */ (function () {
13971
14039
  this.setToggleAttributes(legendTextId, legendShapeId, legendToggleFill, legendToggleOpacity, legendToggleBorderColor, legendToggleBorderWidth, legendToggleBorderOpacity, legendToggleFill);
13972
14040
  }
13973
14041
  else {
13974
- this.setToggleAttributes(legendTextId, legendShapeId, this.maps.layers[k].shapeSettings.fill, this.maps.layers[k].shapeSettings.opacity, this.maps.layers[k].shapeSettings.border.color,
14042
+ this.setToggleAttributes(legendTextId, legendShapeId, this.maps.layers[k].shapeSettings.fill, this.maps.layers[k].shapeSettings.opacity,
14043
+ /* eslint-disable-next-line max-len */
14044
+ this.maps.layers[k].shapeSettings.border.color || this.maps.themeStyle.shapeBorderColor,
13975
14045
  /* eslint-disable-next-line max-len */
13976
14046
  (isNullOrUndefined(this.maps.layers[k].shapeSettings.border.width)
13977
14047
  ? 0
@@ -14032,7 +14102,7 @@ var Legend = /** @__PURE__ @class */ (function () {
14032
14102
  }
14033
14103
  if (this.maps.legendSettings.toggleLegendSettings.applyShapeSettings) {
14034
14104
  mapLegendElement.setAttribute('fill', this.maps.layers[0].shapeSettings.fill);
14035
- mapLegendElement.setAttribute('stroke', this.maps.layers[0].shapeSettings.border.color);
14105
+ mapLegendElement.setAttribute('stroke', this.maps.layers[0].shapeSettings.border.color || this.maps.themeStyle.shapeBorderColor);
14036
14106
  mapLegendElement.setAttribute('fill-opacity', (this.maps.layers[k].shapeSettings.opacity).toString());
14037
14107
  mapLegendElement.setAttribute('stroke-width', (isNullOrUndefined(this.maps.layers[k].shapeSettings.border.width) ? 0 : this.maps.layers[k].shapeSettings.border.width).toString());
14038
14108
  mapLegendElement.setAttribute('stroke-opacity', (isNullOrUndefined(this.maps.layers[k].shapeSettings.border.opacity) ?
@@ -14053,7 +14123,9 @@ var Legend = /** @__PURE__ @class */ (function () {
14053
14123
  this.setToggleAttributes(legendTextId, legendShapeId, legendToggleFill, legendToggleOpacity, legendToggleBorderColor, legendToggleBorderWidth, legendToggleBorderOpacity, legendToggleFill);
14054
14124
  }
14055
14125
  else {
14056
- this.setToggleAttributes(legendTextId, legendShapeId, this.maps.layers[0].shapeSettings.fill, this.maps.layers[k].shapeSettings.opacity, this.maps.layers[0].shapeSettings.border.color, isNullOrUndefined(this.maps.layers[k].shapeSettings.border.width)
14126
+ this.setToggleAttributes(legendTextId, legendShapeId, this.maps.layers[0].shapeSettings.fill, this.maps.layers[k].shapeSettings.opacity,
14127
+ /* eslint-disable-next-line max-len */
14128
+ this.maps.layers[0].shapeSettings.border.color || this.maps.themeStyle.shapeBorderColor, isNullOrUndefined(this.maps.layers[k].shapeSettings.border.width)
14057
14129
  ? 0
14058
14130
  : this.maps.layers[k].shapeSettings.border.width,
14059
14131
  /* eslint-disable-next-line max-len */
@@ -14073,7 +14145,7 @@ var Legend = /** @__PURE__ @class */ (function () {
14073
14145
  mapLegendElement.setAttribute('fill-opacity', (this.maps.layers[k].shapeSettings.opacity).toString());
14074
14146
  mapLegendElement.setAttribute('stroke-width', (isNullOrUndefined(this.maps.layers[k].shapeSettings.border.width) ? 0 :
14075
14147
  this.maps.layers[k].shapeSettings.border.width).toString());
14076
- mapLegendElement.setAttribute('stroke', this.maps.layers[0].shapeSettings.border.color);
14148
+ mapLegendElement.setAttribute('stroke', this.maps.layers[0].shapeSettings.border.color || this.maps.themeStyle.shapeBorderColor);
14077
14149
  mapLegendElement.setAttribute('stroke-opacity', (isNullOrUndefined(this.maps.layers[k].shapeSettings.border.opacity) ?
14078
14150
  this.maps.layers[k].shapeSettings.opacity :
14079
14151
  this.maps.layers[k].shapeSettings.border.opacity).toString());
@@ -14320,10 +14392,10 @@ var Highlight = /** @__PURE__ @class */ (function () {
14320
14392
  this.highlightSettings = this.maps.layers[layerIndex].bubbleSettings[bubble].highlightSettings;
14321
14393
  }
14322
14394
  else if (targetEle.id.indexOf('MarkerIndex') > -1) {
14323
- var marker$$1 = parseInt(targetEle.id.split('_MarkerIndex_')[1].split('_')[0], 10);
14395
+ var marker = parseInt(targetEle.id.split('_MarkerIndex_')[1].split('_')[0], 10);
14324
14396
  dataIndex = parseInt(targetEle.id.split('_dataIndex_')[1].split('_')[0], 10);
14325
- data = this.maps.layers[layerIndex].markerSettings[marker$$1].dataSource[dataIndex];
14326
- this.highlightSettings = this.maps.layers[layerIndex].markerSettings[marker$$1].highlightSettings;
14397
+ data = this.maps.layers[layerIndex].markerSettings[marker].dataSource[dataIndex];
14398
+ this.highlightSettings = this.maps.layers[layerIndex].markerSettings[marker].highlightSettings;
14327
14399
  }
14328
14400
  else if (targetEle.id.indexOf('_PolygonIndex_') > -1) {
14329
14401
  dataIndex = parseInt(targetEle.id.split('_PolygonIndex_')[1].split('_')[0], 10);
@@ -14407,8 +14479,8 @@ var Highlight = /** @__PURE__ @class */ (function () {
14407
14479
  var layerIndex = parseInt(targetEle.id.split('_LayerIndex_')[1].split('_')[0], 10);
14408
14480
  var isMarkerSelect = false;
14409
14481
  if (targetEle.id.indexOf('MarkerIndex') > -1) {
14410
- var marker$$1 = parseInt(targetEle.id.split('_MarkerIndex_')[1].split('_')[0], 10);
14411
- isMarkerSelect = this.maps.layers[layerIndex].markerSettings[marker$$1].highlightSettings.enable;
14482
+ var marker = parseInt(targetEle.id.split('_MarkerIndex_')[1].split('_')[0], 10);
14483
+ isMarkerSelect = this.maps.layers[layerIndex].markerSettings[marker].highlightSettings.enable;
14412
14484
  }
14413
14485
  var borderColor = (targetEle.parentElement.id.indexOf('LineString') === -1) ? this.highlightSettings.border.color : (this.highlightSettings.fill || this.highlightSettings.border.color);
14414
14486
  var borderWidth = (targetEle.parentElement.id.indexOf('LineString') === -1) ? (this.highlightSettings.border.width / (isMarkerSelect ? 1 : this.maps.scale)) : (this.highlightSettings.border.width / this.maps.scale);
@@ -14973,22 +15045,22 @@ var MapsTooltip = /** @__PURE__ @class */ (function () {
14973
15045
  else if (targetId.indexOf('_MarkerIndex_') > -1) {
14974
15046
  var markerIdex = parseInt(targetId.split('_MarkerIndex_')[1].split('_')[0], 10);
14975
15047
  var dataIndex = parseInt(targetId.split('_MarkerIndex_')[1].split('_')[2], 10);
14976
- var marker$$1 = layer.markerSettings[markerIdex];
14977
- option = marker$$1.tooltipSettings;
14978
- templateData = marker$$1.dataSource[dataIndex];
15048
+ var marker = layer.markerSettings[markerIdex];
15049
+ option = marker.tooltipSettings;
15050
+ templateData = marker.dataSource[dataIndex];
14979
15051
  if (option.visible && !isNaN(markerIdex)) {
14980
- if (marker$$1.tooltipSettings.format) {
14981
- currentData = this.formatter(marker$$1.tooltipSettings.format, marker$$1.dataSource[dataIndex]);
15052
+ if (marker.tooltipSettings.format) {
15053
+ currentData = this.formatter(marker.tooltipSettings.format, marker.dataSource[dataIndex]);
14982
15054
  }
14983
15055
  else {
14984
- if (typeof marker$$1.template !== 'function' && marker$$1.template && !marker$$1.tooltipSettings.valuePath) {
14985
- currentData = marker$$1.template.split('>')[1].split('<')[0];
15056
+ if (typeof marker.template !== 'function' && marker.template && !marker.tooltipSettings.valuePath) {
15057
+ currentData = marker.template.split('>')[1].split('<')[0];
14986
15058
  }
14987
15059
  else {
14988
15060
  currentData =
14989
- formatValue(((marker$$1.tooltipSettings.valuePath.indexOf('.') > -1) ?
14990
- (getValueFromObject(marker$$1.dataSource[dataIndex], marker$$1.tooltipSettings.valuePath)) :
14991
- marker$$1.dataSource[dataIndex][marker$$1.tooltipSettings.valuePath]), this.maps);
15061
+ formatValue(((marker.tooltipSettings.valuePath.indexOf('.') > -1) ?
15062
+ (getValueFromObject(marker.dataSource[dataIndex], marker.tooltipSettings.valuePath)) :
15063
+ marker.dataSource[dataIndex][marker.tooltipSettings.valuePath]), this.maps);
14992
15064
  }
14993
15065
  }
14994
15066
  }
@@ -15076,8 +15148,17 @@ var MapsTooltip = /** @__PURE__ @class */ (function () {
15076
15148
  || _this.maps.themeStyle.fontWeight;
15077
15149
  tooltipArgs.options['textStyle']['opacity'] = tooltipArgs.options['textStyle']['opacity']
15078
15150
  || _this.maps.themeStyle.tooltipTextOpacity;
15151
+ var borderObject = isPolygon ? {
15152
+ color: polygonTooltipOption.border.color ||
15153
+ _this.maps.themeStyle.tooltipBorderColor, width: polygonTooltipOption.border.width,
15154
+ opacity: polygonTooltipOption.border.opacity
15155
+ } : {
15156
+ color: option.border.color ||
15157
+ _this.maps.themeStyle.tooltipBorderColor, width: option.border.width, opacity: option.border.opacity
15158
+ };
15079
15159
  if (tooltipArgs.cancel) {
15080
15160
  _this.svgTooltip = new Tooltip({
15161
+ theme: _this.maps.theme,
15081
15162
  enable: true,
15082
15163
  header: '',
15083
15164
  data: option['data'],
@@ -15092,11 +15173,12 @@ var MapsTooltip = /** @__PURE__ @class */ (function () {
15092
15173
  availableSize: _this.maps.availableSize,
15093
15174
  fill: option.fill || _this.maps.themeStyle.tooltipFillColor,
15094
15175
  enableShadow: true,
15095
- border: isPolygon ? polygonTooltipOption.border : option.border
15176
+ border: borderObject
15096
15177
  });
15097
15178
  }
15098
15179
  else {
15099
15180
  _this.svgTooltip = new Tooltip({
15181
+ theme: _this.maps.theme,
15100
15182
  enable: true,
15101
15183
  header: '',
15102
15184
  data: tooltipArgs.options['data'],
@@ -15111,7 +15193,7 @@ var MapsTooltip = /** @__PURE__ @class */ (function () {
15111
15193
  availableSize: _this.maps.availableSize,
15112
15194
  fill: tooltipArgs.fill || _this.maps.themeStyle.tooltipFillColor,
15113
15195
  enableShadow: true,
15114
- border: isPolygon ? polygonTooltipOption.border : option.border
15196
+ border: borderObject
15115
15197
  });
15116
15198
  }
15117
15199
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -15346,10 +15428,8 @@ var Zoom = /** @__PURE__ @class */ (function () {
15346
15428
  this.maps = maps;
15347
15429
  this.wheelEvent = this.browserName === 'mozilla' ? (this.isPointer ? 'mousewheel' : 'DOMMouseScroll') : 'mousewheel';
15348
15430
  this.cancelEvent = this.isPointer ? 'pointerleave' : 'mouseleave';
15349
- this.selectionColor = this.maps.zoomSettings.toolbarSettings.buttonSettings.selectionColor == null ?
15350
- this.maps.zoomSettings.selectionColor : this.maps.zoomSettings.toolbarSettings.buttonSettings.selectionColor;
15351
- this.fillColor = this.maps.zoomSettings.toolbarSettings.buttonSettings.color == null ? this.maps.zoomSettings.color :
15352
- this.maps.zoomSettings.toolbarSettings.buttonSettings.color;
15431
+ this.selectionColor = this.maps.zoomSettings.toolbarSettings.buttonSettings.selectionColor;
15432
+ this.fillColor = this.maps.zoomSettings.toolbarSettings.buttonSettings.color;
15353
15433
  this.addEventListener();
15354
15434
  }
15355
15435
  /**
@@ -15790,9 +15870,9 @@ var Zoom = /** @__PURE__ @class */ (function () {
15790
15870
  * @param {number} scale - Specifies the scale value
15791
15871
  * @returns {void}
15792
15872
  */
15793
- Zoom.prototype.animateTransform = function (element, animate$$1, x, y, scale) {
15873
+ Zoom.prototype.animateTransform = function (element, animate, x, y, scale) {
15794
15874
  var duration = this.currentLayer.animationDuration === 0 && animationMode === 'Enable' ? 1000 : this.currentLayer.animationDuration;
15795
- if (!animate$$1 || duration === 0 || this.maps.isTileMap) {
15875
+ if (!animate || duration === 0 || this.maps.isTileMap) {
15796
15876
  if (!(this.maps.isTileMap && element.id.indexOf('_Polygons_Group') > -1)) {
15797
15877
  element.setAttribute('transform', 'scale(' + (scale) + ') translate( ' + x + ' ' + y + ' )');
15798
15878
  }
@@ -15809,7 +15889,7 @@ var Zoom = /** @__PURE__ @class */ (function () {
15809
15889
  * @returns {void}
15810
15890
  * @private
15811
15891
  */
15812
- Zoom.prototype.applyTransform = function (maps, animate$$1, isPanning) {
15892
+ Zoom.prototype.applyTransform = function (maps, animate, isPanning) {
15813
15893
  var _this = this;
15814
15894
  var layerIndex;
15815
15895
  this.templateCount = 0;
@@ -15851,7 +15931,9 @@ var Zoom = /** @__PURE__ @class */ (function () {
15851
15931
  var markerData = polygonSettings.points;
15852
15932
  var path = calculatePolygonPath(maps, maps.tileZoomLevel, _this.currentLayer, markerData);
15853
15933
  var element = document.getElementById(maps.element.id + '_LayerIndex_' + _this.index + '_PolygonIndex_' + polygonIndex);
15854
- element.setAttribute('d', path);
15934
+ if (!isNullOrUndefined(element)) {
15935
+ element.setAttribute('d', path);
15936
+ }
15855
15937
  });
15856
15938
  document.getElementById(maps.element.id + '_LayerIndex_' + this_1.index + '_Polygons_Group').style.visibility = '';
15857
15939
  }
@@ -15859,7 +15941,7 @@ var Zoom = /** @__PURE__ @class */ (function () {
15859
15941
  else if (currentEle.id.indexOf('Legend') === -1) {
15860
15942
  changeBorderWidth(currentEle, this_1.index, scale, maps);
15861
15943
  maps.zoomTranslatePoint = maps.translatePoint;
15862
- this_1.animateTransform(currentEle, animate$$1, x, y, scale);
15944
+ this_1.animateTransform(currentEle, animate, x, y, scale);
15863
15945
  }
15864
15946
  }
15865
15947
  else if (currentEle.id.indexOf('_Markers_Group') > -1) {
@@ -15870,7 +15952,7 @@ var Zoom = /** @__PURE__ @class */ (function () {
15870
15952
  var markerAnimation_1;
15871
15953
  if (!isNullOrUndefined(currentEle) && currentEle.id.indexOf('Markers') !== -1) {
15872
15954
  Array.prototype.forEach.call(currentEle.childNodes, function (childNode, k) {
15873
- _this.markerTranslate(childNode, factor_1, x, y, scale, 'Marker', animate$$1);
15955
+ _this.markerTranslate(childNode, factor_1, x, y, scale, 'Marker', animate);
15874
15956
  var dataIndex = parseInt(childNode['id'].split('_dataIndex_')[1].split('_')[0], 10);
15875
15957
  var markerIndex = parseInt(childNode['id'].split('_MarkerIndex_')[1].split('_')[0], 10);
15876
15958
  markerAnimation_1 = _this.currentLayer.markerSettings[markerIndex].animationDuration > 0 || animationMode === 'Enable';
@@ -15948,7 +16030,7 @@ var Zoom = /** @__PURE__ @class */ (function () {
15948
16030
  var currentX = ((centerX + x) * scale);
15949
16031
  var currentY = ((centerY + y) * scale);
15950
16032
  var duration = this_1.currentLayer.animationDuration === 0 && animationMode === 'Enable' ? 1000 : this_1.currentLayer.animationDuration;
15951
- if (!animate$$1 || duration === 0) {
16033
+ if (!animate || duration === 0) {
15952
16034
  childElement.setAttribute('transform', 'translate( ' + currentX + ' ' + currentY + ' )');
15953
16035
  }
15954
16036
  else {
@@ -15962,7 +16044,7 @@ var Zoom = /** @__PURE__ @class */ (function () {
15962
16044
  else if (currentEle.id.indexOf('_dataLableIndex_Group') > -1 && !isNullOrUndefined(maps.layers[this_1.index])) {
15963
16045
  maps.zoomLabelPositions = [];
15964
16046
  maps.zoomLabelPositions = maps.dataLabelModule.dataLabelCollections;
15965
- var labelAnimate_1 = !maps.isTileMap && animate$$1;
16047
+ var labelAnimate_1 = !maps.isTileMap && animate;
15966
16048
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
15967
16049
  var intersect_1 = [];
15968
16050
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -16005,7 +16087,7 @@ var Zoom = /** @__PURE__ @class */ (function () {
16005
16087
  _loop_1(i);
16006
16088
  }
16007
16089
  if (!isNullOrUndefined(this.currentLayer)) {
16008
- if (!animate$$1 || this.currentLayer.animationDuration === 0 || maps.isTileMap) {
16090
+ if (!animate || this.currentLayer.animationDuration === 0 || maps.isTileMap) {
16009
16091
  this.processTemplate(x, y, scale, maps);
16010
16092
  }
16011
16093
  }
@@ -16170,8 +16252,8 @@ var Zoom = /** @__PURE__ @class */ (function () {
16170
16252
  }
16171
16253
  };
16172
16254
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
16173
- Zoom.prototype.dataLabelTranslate = function (element, factor, x, y, scale, type, animate$$1, currentLabelIndex, isPanning, intersect) {
16174
- if (animate$$1 === void 0) { animate$$1 = false; }
16255
+ Zoom.prototype.dataLabelTranslate = function (element, factor, x, y, scale, type, animate, currentLabelIndex, isPanning, intersect) {
16256
+ if (animate === void 0) { animate = false; }
16175
16257
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
16176
16258
  var labelCollection = this.maps.dataLabelModule.dataLabelCollections;
16177
16259
  var text;
@@ -16219,7 +16301,7 @@ var Zoom = /** @__PURE__ @class */ (function () {
16219
16301
  labelX = ((labelX + x) * scale);
16220
16302
  labelY = ((labelY + y) * scale);
16221
16303
  zoomtext = label['dataLabelText'];
16222
- if (!animate$$1 || duration === 0) {
16304
+ if (!animate || duration === 0) {
16223
16305
  element.setAttribute('transform', 'translate( ' + labelX + ' ' + labelY + ' )');
16224
16306
  }
16225
16307
  if ((isNullOrUndefined(isPanning) || !isPanning) && (this.maps.layers[this.index].dataLabelSettings.smartLabelMode !== 'None' ||
@@ -16316,52 +16398,39 @@ var Zoom = /** @__PURE__ @class */ (function () {
16316
16398
  }
16317
16399
  }
16318
16400
  }
16319
- if (animate$$1 || duration > 0) {
16401
+ if (animate || duration > 0) {
16320
16402
  smoothTranslate(element, 0, duration, new MapLocation(labelX, labelY));
16321
16403
  }
16322
16404
  }
16323
16405
  }
16324
16406
  };
16325
- Zoom.prototype.markerTranslate = function (element, factor, x, y, scale, type, animate$$1) {
16326
- if (animate$$1 === void 0) { animate$$1 = false; }
16407
+ Zoom.prototype.markerTranslate = function (element, factor, x, y, scale, type, animate) {
16408
+ if (animate === void 0) { animate = false; }
16327
16409
  var layerIndex = parseInt(element.id.split('_LayerIndex_')[1].split('_')[0], 10);
16328
16410
  var markerIndex = parseInt(element.id.split('_MarkerIndex_')[1].split('_')[0], 10);
16329
16411
  var dataIndex = parseInt(element.id.split('_dataIndex_')[1].split('_')[0], 10);
16330
16412
  var layer = this.maps.layersCollection[layerIndex];
16331
- var marker$$1 = layer.markerSettings[markerIndex];
16332
- if (!isNullOrUndefined(marker$$1) && !isNullOrUndefined(marker$$1.dataSource) && !isNullOrUndefined(marker$$1.dataSource[dataIndex])) {
16333
- var lng = (!isNullOrUndefined(marker$$1.longitudeValuePath)) ?
16334
- Number(getValueFromObject(marker$$1.dataSource[dataIndex], marker$$1.longitudeValuePath)) :
16335
- !isNullOrUndefined(marker$$1.dataSource[dataIndex]['longitude']) ? parseFloat(marker$$1.dataSource[dataIndex]['longitude']) :
16336
- !isNullOrUndefined(marker$$1.dataSource[dataIndex]['Longitude']) ? parseFloat(marker$$1.dataSource[dataIndex]['Longitude']) : 0;
16337
- var lat = (!isNullOrUndefined(marker$$1.latitudeValuePath)) ?
16338
- Number(getValueFromObject(marker$$1.dataSource[dataIndex], marker$$1.latitudeValuePath)) :
16339
- !isNullOrUndefined(marker$$1.dataSource[dataIndex]['latitude']) ? parseFloat(marker$$1.dataSource[dataIndex]['latitude']) :
16340
- !isNullOrUndefined(marker$$1.dataSource[dataIndex]['Latitude']) ? parseFloat(marker$$1.dataSource[dataIndex]['Latitude']) : 0;
16413
+ var marker = layer.markerSettings[markerIndex];
16414
+ if (!isNullOrUndefined(marker) && !isNullOrUndefined(marker.dataSource) && !isNullOrUndefined(marker.dataSource[dataIndex])) {
16415
+ var lng = (!isNullOrUndefined(marker.longitudeValuePath)) ?
16416
+ Number(getValueFromObject(marker.dataSource[dataIndex], marker.longitudeValuePath)) :
16417
+ !isNullOrUndefined(marker.dataSource[dataIndex]['longitude']) ? parseFloat(marker.dataSource[dataIndex]['longitude']) :
16418
+ !isNullOrUndefined(marker.dataSource[dataIndex]['Longitude']) ? parseFloat(marker.dataSource[dataIndex]['Longitude']) : 0;
16419
+ var lat = (!isNullOrUndefined(marker.latitudeValuePath)) ?
16420
+ Number(getValueFromObject(marker.dataSource[dataIndex], marker.latitudeValuePath)) :
16421
+ !isNullOrUndefined(marker.dataSource[dataIndex]['latitude']) ? parseFloat(marker.dataSource[dataIndex]['latitude']) :
16422
+ !isNullOrUndefined(marker.dataSource[dataIndex]['Latitude']) ? parseFloat(marker.dataSource[dataIndex]['Latitude']) : 0;
16341
16423
  var duration = this.currentLayer.animationDuration === 0 && animationMode === 'Enable' ? 1000 : this.currentLayer.animationDuration;
16342
16424
  var location_2 = (this.maps.isTileMap) ? convertTileLatLongToPoint(new Point(lng, lat), this.maps.tileZoomLevel, this.maps.tileTranslatePoint, true) : convertGeoToPoint(lat, lng, factor, layer, this.maps);
16343
16425
  if (this.maps.isTileMap) {
16344
16426
  if (type === 'Template') {
16345
16427
  var templateOffset = element.getBoundingClientRect();
16346
- element.style.left = ((location_2.x - (templateOffset.width / 2)) + marker$$1.offset.x) + 'px';
16347
- element.style.top = ((location_2.y - (templateOffset.height / 2)) + marker$$1.offset.y) + 'px';
16348
- if (this.maps.layers[this.maps.baseLayerIndex].layerType === 'GoogleStaticMap') {
16349
- var staticMapOffset = getElementByID(this.maps.element.id + '_StaticGoogleMap').getBoundingClientRect();
16350
- var staticMapOffsetWidth = 640;
16351
- if (element['style']['display'] !== 'none') {
16352
- if ((staticMapOffset['x'] > templateOffset['x'] || staticMapOffset['x'] + staticMapOffsetWidth < templateOffset['x'] + templateOffset['width'])
16353
- && (staticMapOffset['y'] > templateOffset['y'] || staticMapOffset['y'] + staticMapOffset['height'] < templateOffset['y'] + templateOffset['height'])) {
16354
- element.style.display = 'none';
16355
- }
16356
- else if ((staticMapOffset['x'] > templateOffset['x'] || staticMapOffset['x'] + staticMapOffsetWidth < templateOffset['x'] + templateOffset['width'])) {
16357
- element.style.display = 'none';
16358
- }
16359
- }
16360
- }
16428
+ element.style.left = ((location_2.x - (templateOffset.width / 2)) + marker.offset.x) + 'px';
16429
+ element.style.top = ((location_2.y - (templateOffset.height / 2)) + marker.offset.y) + 'px';
16361
16430
  }
16362
16431
  else {
16363
- location_2.x += marker$$1.offset.x;
16364
- location_2.y += marker$$1.offset.y;
16432
+ location_2.x += marker.offset.x;
16433
+ location_2.y += marker.offset.y;
16365
16434
  element.setAttribute('transform', 'translate( ' + location_2.x + ' ' + location_2.y + ' )');
16366
16435
  }
16367
16436
  }
@@ -16372,20 +16441,20 @@ var Zoom = /** @__PURE__ @class */ (function () {
16372
16441
  location_2.y = ((Math.abs(this.maps.baseMapRectBounds['min']['y'] - location_2.y)) * scale);
16373
16442
  var layerOffset = getElementByID(this.maps.element.id + '_Layer_Collections').getBoundingClientRect();
16374
16443
  var elementOffset = element.parentElement.getBoundingClientRect();
16375
- element.style.left = (((location_2.x) + (layerOffset.left - elementOffset.left)) + marker$$1.offset.x) + 'px';
16376
- element.style.top = (((location_2.y) + (layerOffset.top - elementOffset.top)) + marker$$1.offset.y) + 'px';
16444
+ element.style.left = (((location_2.x) + (layerOffset.left - elementOffset.left)) + marker.offset.x) + 'px';
16445
+ element.style.top = (((location_2.y) + (layerOffset.top - elementOffset.top)) + marker.offset.y) + 'px';
16377
16446
  element.style.transform = 'translate(-50%, -50%)';
16378
16447
  }
16379
16448
  else {
16380
16449
  var elementOffset = element.getBoundingClientRect();
16381
- element.style.left = ((location_2.x + x) * scale) + marker$$1.offset.x - this.maps.mapAreaRect.x - (elementOffset.width / 2) + 'px';
16382
- element.style.top = ((location_2.y + y) * scale) + marker$$1.offset.y - this.maps.mapAreaRect.y - (elementOffset.height / 2) + 'px';
16450
+ element.style.left = ((location_2.x + x) * scale) + marker.offset.x - this.maps.mapAreaRect.x - (elementOffset.width / 2) + 'px';
16451
+ element.style.top = ((location_2.y + y) * scale) + marker.offset.y - this.maps.mapAreaRect.y - (elementOffset.height / 2) + 'px';
16383
16452
  }
16384
16453
  }
16385
16454
  else {
16386
- location_2.x = (((location_2.x + x) * scale) + marker$$1.offset.x);
16387
- location_2.y = (((location_2.y + y) * scale) + marker$$1.offset.y);
16388
- if (!animate$$1 || duration === 0) {
16455
+ location_2.x = (((location_2.x + x) * scale) + marker.offset.x);
16456
+ location_2.y = (((location_2.y + y) * scale) + marker.offset.y);
16457
+ if (!animate || duration === 0) {
16389
16458
  element.setAttribute('transform', 'translate( ' + location_2.x + ' ' + location_2.y + ' )');
16390
16459
  }
16391
16460
  else {
@@ -16636,44 +16705,44 @@ var Zoom = /** @__PURE__ @class */ (function () {
16636
16705
  var toolbar = map.zoomSettings.toolbarSettings;
16637
16706
  var button = map.zoomSettings.toolbarSettings.buttonSettings;
16638
16707
  this.maps.toolbarProperties = {
16639
- toolBarOrientation: toolbar.orientation === 'Horizontal' ? map.zoomSettings.toolBarOrientation : toolbar.orientation,
16640
- highlightColor: button.highlightColor == null ? map.zoomSettings.highlightColor : button.highlightColor,
16641
- selectionColor: button.selectionColor == null ? map.zoomSettings.selectionColor : button.selectionColor,
16642
- horizontalAlignment: toolbar.horizontalAlignment === 'Far' ? map.zoomSettings.horizontalAlignment : toolbar.horizontalAlignment,
16643
- verticalAlignment: toolbar.verticalAlignment === 'Near' ? map.zoomSettings.verticalAlignment : toolbar.verticalAlignment,
16644
- color: button.color == null ? map.zoomSettings.color : button.color,
16645
- shapeOpacity: button.opacity !== 1 ? button.opacity : 1,
16646
- borderOpacity: button.borderOpacity !== 1 ? button.borderOpacity : 1
16708
+ toolBarOrientation: toolbar.orientation,
16709
+ highlightColor: button.highlightColor,
16710
+ selectionColor: button.selectionColor,
16711
+ horizontalAlignment: toolbar.horizontalAlignment,
16712
+ verticalAlignment: toolbar.verticalAlignment,
16713
+ color: button.color,
16714
+ shapeOpacity: button.opacity,
16715
+ borderOpacity: button.borderOpacity
16647
16716
  };
16648
- var cx = button.radius / 4;
16649
- var cy = button.radius / 4;
16650
- var radius = button.radius / 2;
16717
+ var buttonRadius = button.radius || map.themeStyle.zoomButtonRadius;
16718
+ var cx = buttonRadius / 4;
16719
+ var cy = buttonRadius / 4;
16720
+ var radius = buttonRadius / 2;
16651
16721
  var padding = button.padding;
16652
16722
  var orientation = this.maps.toolbarProperties.toolBarOrientation;
16653
16723
  var toolbarCollection = map.zoomSettings.toolbarSettings.buttonSettings.toolbarItems.map(function (value) { return value; });
16654
- var toolbarsCollection = toolbarCollection.length === 3 ? map.zoomSettings.toolbars : toolbarCollection;
16655
- xSpacing = (button.radius / 4) + (button.borderWidth / 2) + padding;
16656
- ySpacing = (button.radius / 4) + (button.borderWidth / 2) + padding;
16724
+ xSpacing = (buttonRadius / 4) + (button.borderWidth / 2) + padding;
16725
+ ySpacing = (buttonRadius / 4) + (button.borderWidth / 2) + padding;
16657
16726
  var shadowElement = '<filter id="chart_shadow" height="130%"><feGaussianBlur in="SourceAlpha" stdDeviation="5"/>';
16658
16727
  shadowElement += '<feOffset dx="-3" dy="4" result="offsetblur"/><feComponentTransfer><feFuncA type="linear" slope="1"/>';
16659
16728
  shadowElement += '</feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter>';
16660
16729
  var toolBarLength = toolbarCollection.length;
16661
- var toolWidth = (orientation === 'Horizontal') ? ((toolBarLength * button.radius) + (toolBarLength * padding) + padding + (toolBarLength * button.borderWidth)) : (button.radius + button.borderWidth + (2 * padding));
16662
- var toolHeight = (orientation === 'Horizontal') ? (button.radius + button.borderWidth + (2 * padding)) : ((toolBarLength * button.radius) + (toolBarLength * padding) + padding + (toolBarLength * button.borderWidth));
16730
+ var toolWidth = (orientation === 'Horizontal') ? ((toolBarLength * buttonRadius) + (toolBarLength * padding) + padding + (toolBarLength * button.borderWidth)) : (buttonRadius + button.borderWidth + (2 * padding));
16731
+ var toolHeight = (orientation === 'Horizontal') ? (buttonRadius + button.borderWidth + (2 * padding)) : ((toolBarLength * buttonRadius) + (toolBarLength * padding) + padding + (toolBarLength * button.borderWidth));
16663
16732
  var defElement = map.renderer.createDefs();
16664
16733
  defElement.innerHTML = shadowElement;
16665
16734
  this.toolBarGroup.appendChild(defElement);
16666
16735
  var outerElement = map.renderer.drawRectangle(new RectOption(map.element.id + '_Zooming_Rect', toolbar.backgroundColor, { color: toolbar.borderColor, width: toolbar.borderWidth, opacity: toolbar.borderOpacity }, toolbar.borderOpacity, new Rect((toolbar.borderWidth / 2), (toolbar.borderWidth / 2), (toolWidth - toolbar.borderWidth), (toolHeight - toolbar.borderWidth)), 0, 0));
16667
16736
  this.toolBarGroup.appendChild(outerElement);
16668
- var scaleX = (button.radius - (button.borderWidth / 2)) / 30;
16669
- for (var i = 0; i < toolbarsCollection.length; i++) {
16737
+ var scaleX = (buttonRadius - (button.borderWidth / 2)) / 30;
16738
+ for (var i = 0; i < toolbarCollection.length; i++) {
16670
16739
  if (i !== 0) {
16671
- xSpacing = (map.toolbarProperties.toolBarOrientation === 'Horizontal') ? (xSpacing + (button.radius + padding) + button.borderWidth) : xSpacing;
16672
- ySpacing = (map.toolbarProperties.toolBarOrientation === 'Horizontal') ? ySpacing : (ySpacing + (button.radius + padding) + button.borderWidth);
16740
+ xSpacing = (map.toolbarProperties.toolBarOrientation === 'Horizontal') ? (xSpacing + (buttonRadius + padding) + button.borderWidth) : xSpacing;
16741
+ ySpacing = (map.toolbarProperties.toolBarOrientation === 'Horizontal') ? ySpacing : (ySpacing + (buttonRadius + padding) + button.borderWidth);
16673
16742
  }
16674
- var toolbar_1 = toolbarsCollection[i];
16743
+ var toolbar_1 = toolbarCollection[i];
16675
16744
  var pathStroke = !isNullOrUndefined(this.maps.toolbarProperties.color) ? this.maps.toolbarProperties.color : this.maps.themeStyle.zoomFillColor;
16676
- var borderColor = button.borderColor || this.maps.themeStyle.zoomFillColor;
16745
+ var borderColor = button.borderColor || (this.maps.themeStyle.zoomBorderColor || this.maps.themeStyle.zoomFillColor);
16677
16746
  this.currentToolbarEle = map.renderer.createGroup({
16678
16747
  id: map.element.id + '_Zooming_ToolBar_' + toolbar_1 + '_Group',
16679
16748
  transform: 'translate( ' + xSpacing + ' ' + ySpacing + ' ) '
@@ -17321,7 +17390,6 @@ var Zoom = /** @__PURE__ @class */ (function () {
17321
17390
  var pageX;
17322
17391
  var pageY;
17323
17392
  var map = this.maps;
17324
- //eslint-disable-next-line @typescript-eslint/no-unused-vars
17325
17393
  var target;
17326
17394
  var touches = null;
17327
17395
  var zoom = this.maps.zoomSettings;
@@ -17648,10 +17716,13 @@ var Print = /** @__PURE__ @class */ (function () {
17648
17716
  backgroundElement = backgroundElement.childNodes[0];
17649
17717
  if (!isNullOrUndefined(backgroundElement)) {
17650
17718
  var backgroundColor = backgroundElement.getAttribute('fill');
17651
- if ((maps.theme === 'Tailwind' || maps.theme === 'Bootstrap5' || maps.theme === 'Fluent' || maps.theme === 'Material3') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
17719
+ if ((maps.theme === 'Tailwind' || maps.theme === 'Bootstrap5' || maps.theme === 'Fluent' || maps.theme === 'Material3' || maps.theme === 'Fluent2')
17720
+ && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
17652
17721
  backgroundElement.setAttribute('fill', 'rgba(255,255,255, 1)');
17653
17722
  }
17654
- else if ((maps.theme === 'TailwindDark' || maps.theme === 'Bootstrap5Dark' || maps.theme === 'FluentDark' || maps.theme === 'Material3Dark') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
17723
+ else if ((maps.theme === 'TailwindDark' || maps.theme === 'Bootstrap5Dark' || maps.theme === 'FluentDark' || maps.theme === 'Material3Dark' ||
17724
+ maps.theme === 'Fluent2Dark' || maps.theme === 'Fluent2HighContrast')
17725
+ && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
17655
17726
  backgroundElement.setAttribute('fill', 'rgba(0, 0, 0, 1)');
17656
17727
  }
17657
17728
  }
@@ -17754,10 +17825,13 @@ var ImageExport = /** @__PURE__ @class */ (function () {
17754
17825
  var svgObject = getElementByID(maps.element.id + '_svg').cloneNode(true);
17755
17826
  var backgroundElement = svgObject.childNodes[0];
17756
17827
  var backgroundColor = backgroundElement.getAttribute('fill');
17757
- if ((maps.theme === 'Tailwind' || maps.theme === 'Bootstrap5' || maps.theme === 'Fluent' || maps.theme === 'Material3') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
17828
+ if ((maps.theme === 'Tailwind' || maps.theme === 'Bootstrap5' || maps.theme === 'Fluent' || maps.theme === 'Material3' || maps.theme === 'Fluent2')
17829
+ && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
17758
17830
  svgObject.childNodes[0].setAttribute('fill', 'rgba(255,255,255, 1)');
17759
17831
  }
17760
- else if ((maps.theme === 'TailwindDark' || maps.theme === 'Bootstrap5Dark' || maps.theme === 'FluentDark' || maps.theme === 'Material3Dark') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
17832
+ else if ((maps.theme === 'TailwindDark' || maps.theme === 'Bootstrap5Dark' || maps.theme === 'FluentDark' || maps.theme === 'Material3Dark' ||
17833
+ maps.theme === 'Fluent2Dark' || maps.theme === 'Fluent2HighContrast')
17834
+ && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
17761
17835
  svgObject.childNodes[0].setAttribute('fill', 'rgba(0, 0, 0, 1)');
17762
17836
  }
17763
17837
  if (!maps.isTileMap) {
@@ -17942,10 +18016,13 @@ var PdfExport = /** @__PURE__ @class */ (function () {
17942
18016
  var exportElement = maps.svgObject.cloneNode(true);
17943
18017
  var backgroundElement = exportElement.childNodes[0];
17944
18018
  var backgroundColor = backgroundElement.getAttribute('fill');
17945
- if ((maps.theme === 'Tailwind' || maps.theme === 'Bootstrap5' || maps.theme === 'Fluent' || maps.theme === 'Material3') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
18019
+ if ((maps.theme === 'Tailwind' || maps.theme === 'Bootstrap5' || maps.theme === 'Fluent' || maps.theme === 'Material3' || maps.theme === 'Fluent2')
18020
+ && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
17946
18021
  exportElement.childNodes[0].setAttribute('fill', 'rgba(255,255,255, 1)');
17947
18022
  }
17948
- else if ((maps.theme === 'TailwindDark' || maps.theme === 'Bootstrap5Dark' || maps.theme === 'FluentDark' || maps.theme === 'Material3Dark') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
18023
+ else if ((maps.theme === 'TailwindDark' || maps.theme === 'Bootstrap5Dark' || maps.theme === 'FluentDark' || maps.theme === 'Material3Dark' ||
18024
+ maps.theme === 'Fluent2Dark' || maps.theme === 'Fluent2HighContrast')
18025
+ && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
17949
18026
  exportElement.childNodes[0].setAttribute('fill', 'rgba(0, 0, 0, 1)');
17950
18027
  }
17951
18028
  var url = window.URL.createObjectURL(new Blob(type === 'SVG' ? [svgData] :
@@ -18069,13 +18146,5 @@ var PdfExport = /** @__PURE__ @class */ (function () {
18069
18146
  return PdfExport;
18070
18147
  }());
18071
18148
 
18072
- /**
18073
- * export all modules from maps component
18074
- */
18075
-
18076
- /**
18077
- * exporting all modules from maps index
18078
- */
18079
-
18080
- export { Maps, load, loaded, click, onclick, rightClick, doubleClick, resize, tooltipRender, shapeSelected, shapeHighlight, mousemove, mouseup, mousedown, layerRendering, shapeRendering, markerRendering, markerClusterRendering, markerClick, markerDragStart, markerDragEnd, markerClusterClick, markerMouseMove, markerClusterMouseMove, dataLabelRendering, bubbleRendering, bubbleClick, bubbleMouseMove, animationComplete, legendRendering, annotationRendering, itemSelection, panComplete, zoomComplete, itemHighlight, beforePrint, zoomIn, zoomOut, pan, Annotation, Arrow, Font, ZoomToolbarButtonSettings, ZoomToolbarTooltipSettings, ZoomToolbarSettings, Border, CenterPosition, TooltipSettings, PolygonTooltipSettings, Margin, ConnectorLineSettings, MarkerClusterSettings, MarkerClusterData, ColorMappingSettings, InitialMarkerSelectionSettings, InitialShapeSelectionSettings, SelectionSettings, HighlightSettings, PolygonSetting, PolygonSettings, NavigationLineSettings, BubbleSettings, CommonTitleSettings, SubTitleSettings, TitleSettings, ZoomSettings, ToggleLegendSettings, LegendSettings, DataLabelSettings, ShapeSettings, MarkerBase, MarkerSettings, LayerSettings, Tile, MapsAreaSettings, Size, stringToNumber, calculateSize, createSvg, getMousePosition, degreesToRadians, radiansToDegrees, convertGeoToPoint, calculatePolygonPath, convertTileLatLongToPoint, xToCoordinate, yToCoordinate, aitoff, roundTo, sinci, acos, calculateBound, triggerDownload, Point, Coordinate, MinMax, GeoLocation, measureText, measureTextElement, TextOption, PathOption, ColorValue, RectOption, CircleOption, PolygonOption, PolylineOption, LineOption, Line, MapLocation, Rect, PatternOptions, renderTextElement, convertElement, formatValue, convertStringToValue, convertElementFromLabel, drawSymbols, getValueFromObject, markerColorChoose, markerShapeChoose, clusterTemplate, markerClusterListHandler, markerBoundsComparer, mergeSeparateCluster, clusterSeparate, marker, markerTemplate, maintainSelection, maintainToggleSelection, maintainStyleClass, appendShape, drawCircle, drawRectangle, drawPath, drawPolygon, drawPolyline, drawLine, calculateShapes, drawDiamond, drawTriangle, drawCross, drawHorizontalLine, drawVerticalLine, drawStar, drawBalloon, drawPattern, getFieldData, checkShapeDataFields, checkPropertyPath, filter, getRatioOfBubble, findMidPointOfPolygon, isCustomPath, textTrim, findPosition, removeElement, calculateCenterFromPixel, getTranslate, getZoomTranslate, fixInitialScaleForTile, getElementByID, getClientElement, Internalize, getTemplateFunction, getElement, getShapeData, triggerShapeEvent, getElementsByClassName, querySelector, getTargetElement, createStyle, customizeStyle, triggerItemSelectionEvent, removeClass, elementAnimate, timeout, showTooltip, wordWrap, createTooltip, getHexColor, drawSymbol, renderLegendShape, getElementOffset, changeBorderWidth, changeNavaigationLineWidth, targetTouches, calculateScale, getDistance, getTouches, getTouchCenter, sum, zoomAnimate, animate, MapAjax, smoothTranslate, compareZoomFactor, calculateZoomLevel, processResult, LayerPanel, Bubble, BingMap, Marker, Polygon, ColorMapping, DataLabel, NavigationLine, Legend, Highlight, Selection, MapsTooltip, Zoom, Annotations, Print, ImageExport, PdfExport };
18149
+ export { Annotation, Annotations, Arrow, BingMap, Border, Bubble, BubbleSettings, CenterPosition, CircleOption, ColorMapping, ColorMappingSettings, ColorValue, CommonTitleSettings, ConnectorLineSettings, Coordinate, DataLabel, DataLabelSettings, Font, GeoLocation, Highlight, HighlightSettings, ImageExport, InitialMarkerSelectionSettings, InitialShapeSelectionSettings, Internalize, LayerPanel, LayerSettings, Legend, LegendSettings, Line, LineOption, MapAjax, MapLocation, Maps, MapsAreaSettings, MapsTooltip, Margin, Marker, MarkerBase, MarkerClusterData, MarkerClusterSettings, MarkerSettings, MinMax, NavigationLine, NavigationLineSettings, PathOption, PatternOptions, PdfExport, Point, Polygon, PolygonOption, PolygonSetting, PolygonSettings, PolygonTooltipSettings, PolylineOption, Print, Rect, RectOption, Selection, SelectionSettings, ShapeSettings, Size, SubTitleSettings, TextOption, Tile, TitleSettings, ToggleLegendSettings, TooltipSettings, Zoom, ZoomSettings, ZoomToolbarButtonSettings, ZoomToolbarSettings, ZoomToolbarTooltipSettings, acos, aitoff, animate, animationComplete, annotationRendering, appendShape, beforePrint, bubbleClick, bubbleMouseMove, bubbleRendering, calculateBound, calculateCenterFromPixel, calculatePolygonPath, calculateScale, calculateShapes, calculateSize, calculateZoomLevel, changeBorderWidth, changeNavaigationLineWidth, checkPropertyPath, checkShapeDataFields, click, clusterSeparate, clusterTemplate, compareZoomFactor, convertElement, convertElementFromLabel, convertGeoToPoint, convertStringToValue, convertTileLatLongToPoint, createStyle, createSvg, createTooltip, customizeStyle, dataLabelRendering, degreesToRadians, doubleClick, drawBalloon, drawCircle, drawCross, drawDiamond, drawHorizontalLine, drawLine, drawPath, drawPattern, drawPolygon, drawPolyline, drawRectangle, drawStar, drawSymbol, drawSymbols, drawTriangle, drawVerticalLine, elementAnimate, filter, findMidPointOfPolygon, findPosition, fixInitialScaleForTile, formatValue, getClientElement, getDistance, getElement, getElementByID, getElementOffset, getElementsByClassName, getFieldData, getHexColor, getMousePosition, getRatioOfBubble, getShapeData, getTargetElement, getTemplateFunction, getTouchCenter, getTouches, getTranslate, getValueFromObject, getZoomTranslate, isCustomPath, itemHighlight, itemSelection, layerRendering, legendRendering, load, loaded, maintainSelection, maintainStyleClass, maintainToggleSelection, marker, markerBoundsComparer, markerClick, markerClusterClick, markerClusterListHandler, markerClusterMouseMove, markerClusterRendering, markerColorChoose, markerDragEnd, markerDragStart, markerMouseMove, markerRendering, markerShapeChoose, markerTemplate, measureText, measureTextElement, mergeSeparateCluster, mousedown, mousemove, mouseup, onclick, pan, panComplete, processResult, querySelector, radiansToDegrees, removeClass, removeElement, renderLegendShape, renderTextElement, resize, rightClick, roundTo, shapeHighlight, shapeRendering, shapeSelected, showTooltip, sinci, smoothTranslate, stringToNumber, sum, targetTouches, textTrim, timeout, tooltipRender, triggerDownload, triggerItemSelectionEvent, triggerShapeEvent, wordWrap, xToCoordinate, yToCoordinate, zoomAnimate, zoomComplete, zoomIn, zoomOut };
18081
18150
  //# sourceMappingURL=ej2-maps.es5.js.map