@syncfusion/ej2-maps 20.2.36 → 20.2.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -1
- package/dist/ej2-maps.umd.min.js +2 -2
- package/dist/ej2-maps.umd.min.js.map +1 -1
- package/dist/es6/ej2-maps.es2015.js +77 -52
- package/dist/es6/ej2-maps.es2015.js.map +1 -1
- package/dist/es6/ej2-maps.es5.js +77 -52
- package/dist/es6/ej2-maps.es5.js.map +1 -1
- package/dist/global/ej2-maps.min.js +2 -2
- package/dist/global/ej2-maps.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -12
- package/src/maps/layers/bubble.js +1 -1
- package/src/maps/layers/data-label.js +1 -1
- package/src/maps/layers/layer-panel.js +1 -1
- package/src/maps/maps-model.d.ts +10 -2
- package/src/maps/maps.d.ts +15 -1
- package/src/maps/maps.js +45 -32
- package/src/maps/model/constants.d.ts +6 -0
- package/src/maps/model/constants.js +6 -0
- package/src/maps/user-interaction/selection.js +1 -3
- package/src/maps/user-interaction/tooltip.js +3 -3
- package/src/maps/user-interaction/zoom.js +10 -8
- package/src/maps/utils/helper.js +10 -4
|
@@ -954,8 +954,8 @@ function clusterTemplate(currentLayer, markerTemplate, maps, layerIndex, markerC
|
|
|
954
954
|
shapeCustom['borderWidth'] = eventArg.border.width;
|
|
955
955
|
shapeCustom['borderOpacity'] = isNullOrUndefined(eventArg.border.opacity) ? clusters.opacity : eventArg.border.opacity;
|
|
956
956
|
}
|
|
957
|
-
tempX = (maps.isTileMap) ? tempX : (markerTemplate.id.indexOf('_Markers_Group') > -1) ? tempX :
|
|
958
|
-
tempY = (maps.isTileMap) ? tempY : (markerTemplate.id.indexOf('_Markers_Group') > -1) ? tempY :
|
|
957
|
+
tempX = (maps.isTileMap) ? tempX : (markerTemplate.id.indexOf('_Markers_Group') > -1) ? tempX : tempX + postionY - (eventArg.width / 2);
|
|
958
|
+
tempY = (maps.isTileMap) ? tempY : (markerTemplate.id.indexOf('_Markers_Group') > -1) ? tempY : tempY - (eventArg.height / 2);
|
|
959
959
|
if (maps.isTileMap && !maps.zoomSettings.enable) {
|
|
960
960
|
tempX = location.x;
|
|
961
961
|
tempY = location.y;
|
|
@@ -1034,7 +1034,7 @@ function clusterTemplate(currentLayer, markerTemplate, maps, layerIndex, markerC
|
|
|
1034
1034
|
getElementByID(maps.element.id + '_Secondary_Element').appendChild(markerCollection);
|
|
1035
1035
|
layerElement.appendChild(markerCollection);
|
|
1036
1036
|
}
|
|
1037
|
-
const markerCluster = document.getElementById(maps.element.id + '
|
|
1037
|
+
const markerCluster = document.getElementById(maps.element.id + '_LayerIndex_' + layerIndex + '_markerCluster');
|
|
1038
1038
|
if (!isNullOrUndefined(markerCluster)) {
|
|
1039
1039
|
markerCluster.remove();
|
|
1040
1040
|
}
|
|
@@ -2179,6 +2179,8 @@ function getZoomTranslate(mapObject, layer, animate) {
|
|
|
2179
2179
|
}
|
|
2180
2180
|
}
|
|
2181
2181
|
scaleFactor = (mapObject.enablePersistence) ? (mapObject.mapScaleValue === 0 ? 1 : mapObject.mapScaleValue) : scaleFactor;
|
|
2182
|
+
mapObject.widthBeforeRefresh = mapObject.availableSize.width;
|
|
2183
|
+
mapObject.heightBeforeRefresh = mapObject.availableSize.height;
|
|
2182
2184
|
return { scale: animate ? 1 : scaleFactor, location: new Point(x, y) };
|
|
2183
2185
|
}
|
|
2184
2186
|
/**
|
|
@@ -3059,7 +3061,11 @@ function animate(element, delay, duration, process, end) {
|
|
|
3059
3061
|
else {
|
|
3060
3062
|
window.cancelAnimationFrame(clearAnimation);
|
|
3061
3063
|
end.call(this, { element: element });
|
|
3062
|
-
element.
|
|
3064
|
+
if (element.id.indexOf('Marker') > -1) {
|
|
3065
|
+
console.log(element);
|
|
3066
|
+
let markerElement = getElementByID(element.id.split('_')[0] + '_Markers_Group');
|
|
3067
|
+
markerElement.setAttribute('style', markerStyle);
|
|
3068
|
+
}
|
|
3063
3069
|
}
|
|
3064
3070
|
};
|
|
3065
3071
|
clearAnimation = window.requestAnimationFrame(startAnimation);
|
|
@@ -5073,6 +5079,12 @@ const loaded = 'loaded';
|
|
|
5073
5079
|
* @private
|
|
5074
5080
|
*/
|
|
5075
5081
|
const click = 'click';
|
|
5082
|
+
/**
|
|
5083
|
+
* Specifies the maps onclick event name.
|
|
5084
|
+
*
|
|
5085
|
+
* @private
|
|
5086
|
+
*/
|
|
5087
|
+
const onclick = 'onclick';
|
|
5076
5088
|
/**
|
|
5077
5089
|
* Specifies the maps right click event name.
|
|
5078
5090
|
*
|
|
@@ -6709,7 +6721,7 @@ class LayerPanel {
|
|
|
6709
6721
|
else {
|
|
6710
6722
|
if (type !== 'Pan' && element1 && element) {
|
|
6711
6723
|
element1.appendChild(element.children[0]);
|
|
6712
|
-
if (!isNullOrUndefined(document.getElementById(this.mapObject.element.id + '_animated_tiles'))) {
|
|
6724
|
+
if (!this.mapObject.isAddLayer && !isNullOrUndefined(document.getElementById(this.mapObject.element.id + '_animated_tiles'))) {
|
|
6713
6725
|
document.getElementById(this.mapObject.element.id + '_animated_tiles').id =
|
|
6714
6726
|
this.mapObject.element.id + '_animated_tiles_old';
|
|
6715
6727
|
}
|
|
@@ -7210,6 +7222,7 @@ let Maps = class Maps extends Component {
|
|
|
7210
7222
|
this.renderArea();
|
|
7211
7223
|
this.processRequestJsonData();
|
|
7212
7224
|
this.renderComplete();
|
|
7225
|
+
this.isAddLayer = !this.isTileMap ? false : this.isAddLayer;
|
|
7213
7226
|
}
|
|
7214
7227
|
/**
|
|
7215
7228
|
* To Initialize the control rendering.
|
|
@@ -8004,24 +8017,35 @@ let Maps = class Maps extends Component {
|
|
|
8004
8017
|
latitude: latitude, longitude: longitude,
|
|
8005
8018
|
isShapeSelected: this.SelectedElement(targetEle)
|
|
8006
8019
|
};
|
|
8007
|
-
this.
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8019
|
-
|
|
8020
|
-
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
8020
|
+
if (this.onclick) {
|
|
8021
|
+
eventArgs.name = onclick;
|
|
8022
|
+
this.trigger('onclick', eventArgs, (mouseArgs) => {
|
|
8023
|
+
this.clickHandler(e, eventArgs, targetEle);
|
|
8024
|
+
});
|
|
8025
|
+
}
|
|
8026
|
+
else {
|
|
8027
|
+
this.trigger('click', eventArgs, (mouseArgs) => {
|
|
8028
|
+
this.clickHandler(e, eventArgs, targetEle);
|
|
8029
|
+
});
|
|
8030
|
+
}
|
|
8031
|
+
}
|
|
8032
|
+
}
|
|
8033
|
+
clickHandler(e, eventArgs, targetEle) {
|
|
8034
|
+
if (targetEle.id.indexOf('shapeIndex') > -1) {
|
|
8035
|
+
this.mergeCluster();
|
|
8036
|
+
if (getElement(this.element.id + '_mapsTooltip') &&
|
|
8037
|
+
this.mapsTooltipModule.tooltipTargetID.indexOf('_MarkerIndex_') > -1) {
|
|
8038
|
+
removeElement(this.element.id + '_mapsTooltip');
|
|
8039
|
+
}
|
|
8040
|
+
}
|
|
8041
|
+
if (this.markerModule) {
|
|
8042
|
+
this.markerModule.markerClusterClick(e);
|
|
8043
|
+
}
|
|
8044
|
+
if (!eventArgs.cancel) {
|
|
8045
|
+
this.notify(click, targetEle);
|
|
8046
|
+
}
|
|
8047
|
+
if (!eventArgs.cancel && targetEle.id.indexOf('shapeIndex') !== -1) {
|
|
8048
|
+
this.triggerShapeSelection(targetEle);
|
|
8025
8049
|
}
|
|
8026
8050
|
}
|
|
8027
8051
|
triggerShapeSelection(targetEle) {
|
|
@@ -8121,13 +8145,6 @@ let Maps = class Maps extends Component {
|
|
|
8121
8145
|
latitude = latLongValue.latitude;
|
|
8122
8146
|
longitude = latLongValue.longitude;
|
|
8123
8147
|
}
|
|
8124
|
-
const eventArgs = {
|
|
8125
|
-
cancel: false, name: click, target: targetId, x: e.clientX, y: e.clientY,
|
|
8126
|
-
latitude: latitude, longitude: longitude, isShapeSelected: this.SelectedElement(targetEle)
|
|
8127
|
-
};
|
|
8128
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
8129
|
-
this.trigger('click', eventArgs, (mouseArgs) => {
|
|
8130
|
-
});
|
|
8131
8148
|
}
|
|
8132
8149
|
this.titleTooltip(e, pageX, pageY, true);
|
|
8133
8150
|
if (!isNullOrUndefined(this.legendModule)) {
|
|
@@ -8135,7 +8152,7 @@ let Maps = class Maps extends Component {
|
|
|
8135
8152
|
}
|
|
8136
8153
|
}
|
|
8137
8154
|
this.notify(Browser.touchEndEvent, e);
|
|
8138
|
-
if (e.cancelable) {
|
|
8155
|
+
if (e.cancelable && !this.isTouch) {
|
|
8139
8156
|
e.preventDefault();
|
|
8140
8157
|
}
|
|
8141
8158
|
return false;
|
|
@@ -8400,8 +8417,10 @@ let Maps = class Maps extends Component {
|
|
|
8400
8417
|
* @param {Object} layer - Specifies the layer for the maps.
|
|
8401
8418
|
*/
|
|
8402
8419
|
addLayer(layer) {
|
|
8403
|
-
|
|
8404
|
-
|
|
8420
|
+
let mapsLayer = this.layers;
|
|
8421
|
+
mapsLayer.push(layer);
|
|
8422
|
+
this.isAddLayer = true;
|
|
8423
|
+
this.layers = mapsLayer;
|
|
8405
8424
|
}
|
|
8406
8425
|
/**
|
|
8407
8426
|
* This method is used to remove a layer from map.
|
|
@@ -8410,8 +8429,9 @@ let Maps = class Maps extends Component {
|
|
|
8410
8429
|
* @returns {void}
|
|
8411
8430
|
*/
|
|
8412
8431
|
removeLayer(index) {
|
|
8413
|
-
this.layers
|
|
8414
|
-
|
|
8432
|
+
let mapsLayer = this.layers;
|
|
8433
|
+
mapsLayer.splice(index, 1);
|
|
8434
|
+
this.layers = mapsLayer;
|
|
8415
8435
|
}
|
|
8416
8436
|
/**
|
|
8417
8437
|
* This method is used to add markers dynamically in the maps.
|
|
@@ -8694,6 +8714,7 @@ let Maps = class Maps extends Component {
|
|
|
8694
8714
|
onPropertyChanged(newProp, oldProp) {
|
|
8695
8715
|
let render = false;
|
|
8696
8716
|
let isMarker = false;
|
|
8717
|
+
let isLayer = false;
|
|
8697
8718
|
let isStaticMapType = false;
|
|
8698
8719
|
let layerEle;
|
|
8699
8720
|
if (newProp['layers']) {
|
|
@@ -8713,6 +8734,7 @@ let Maps = class Maps extends Component {
|
|
|
8713
8734
|
case 'legendSettings':
|
|
8714
8735
|
case 'baseLayerIndex':
|
|
8715
8736
|
if (prop === 'layers') {
|
|
8737
|
+
isLayer = true;
|
|
8716
8738
|
const layerPropLength = Object.keys(newProp.layers).length;
|
|
8717
8739
|
for (let x = 0; x < layerPropLength; x++) {
|
|
8718
8740
|
if (!isNullOrUndefined(newProp.layers[x])) {
|
|
@@ -8736,7 +8758,7 @@ let Maps = class Maps extends Component {
|
|
|
8736
8758
|
break;
|
|
8737
8759
|
case 'zoomSettings':
|
|
8738
8760
|
if (!isNullOrUndefined(oldProp.zoomSettings)) {
|
|
8739
|
-
if (newProp.zoomSettings.zoomFactor !== oldProp.zoomSettings.zoomFactor) {
|
|
8761
|
+
if (newProp.zoomSettings.zoomFactor !== oldProp.zoomSettings.zoomFactor && !isLayer) {
|
|
8740
8762
|
render = false;
|
|
8741
8763
|
}
|
|
8742
8764
|
else if (newProp.zoomSettings.shouldZoomInitially !== oldProp.zoomSettings.shouldZoomInitially) {
|
|
@@ -9221,6 +9243,9 @@ __decorate([
|
|
|
9221
9243
|
__decorate([
|
|
9222
9244
|
Event()
|
|
9223
9245
|
], Maps.prototype, "click", void 0);
|
|
9246
|
+
__decorate([
|
|
9247
|
+
Event()
|
|
9248
|
+
], Maps.prototype, "onclick", void 0);
|
|
9224
9249
|
__decorate([
|
|
9225
9250
|
Event()
|
|
9226
9251
|
], Maps.prototype, "doubleClick", void 0);
|
|
@@ -9449,7 +9474,7 @@ class Bubble {
|
|
|
9449
9474
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
9450
9475
|
let translate;
|
|
9451
9476
|
const animate$$1 = layer.animationDuration !== 0 || isNullOrUndefined(this.maps.zoomModule);
|
|
9452
|
-
if (this.maps.zoomSettings.zoomFactor > 1 && !isNullOrUndefined(this.maps.zoomModule)) {
|
|
9477
|
+
if (this.maps.zoomSettings.zoomFactor > 1 && !isNullOrUndefined(this.maps.zoomModule) && !this.maps.isTileMap) {
|
|
9453
9478
|
translate = getZoomTranslate(this.maps, layer, animate$$1);
|
|
9454
9479
|
}
|
|
9455
9480
|
else {
|
|
@@ -9670,7 +9695,7 @@ class DataLabel {
|
|
|
9670
9695
|
let shapeWidth;
|
|
9671
9696
|
const scaleZoomValue = !isNullOrUndefined(this.maps.scale) ? Math.floor(this.maps.scale) : 1;
|
|
9672
9697
|
const zoomLabelsPosition = this.maps.zoomSettings.enable ? !isNullOrUndefined(this.maps.zoomShapeCollection) &&
|
|
9673
|
-
this.maps.zoomShapeCollection.length > 0 : this.maps.zoomSettings.enable;
|
|
9698
|
+
this.maps.zoomShapeCollection.length > 0 && !this.maps.isAddLayer : this.maps.zoomSettings.enable;
|
|
9674
9699
|
this.maps.translateType = 'labels';
|
|
9675
9700
|
for (let j = 0; j < properties.length; j++) {
|
|
9676
9701
|
if (shapeProperties[properties[j]]) {
|
|
@@ -12510,7 +12535,6 @@ class Selection {
|
|
|
12510
12535
|
addEventListener() {
|
|
12511
12536
|
if (!this.maps.isDestroyed) {
|
|
12512
12537
|
this.maps.on(click, this.mouseClick, this);
|
|
12513
|
-
this.maps.on(Browser.touchEndEvent, this.mouseClick, this);
|
|
12514
12538
|
}
|
|
12515
12539
|
}
|
|
12516
12540
|
/**
|
|
@@ -12523,7 +12547,6 @@ class Selection {
|
|
|
12523
12547
|
return;
|
|
12524
12548
|
}
|
|
12525
12549
|
this.maps.off(click, this.mouseClick);
|
|
12526
|
-
this.maps.off(Browser.touchEndEvent, this.mouseClick);
|
|
12527
12550
|
}
|
|
12528
12551
|
mouseClick(targetElement) {
|
|
12529
12552
|
if (!isNullOrUndefined(targetElement['type']) && targetElement['type'].indexOf('touch') !== -1 &&
|
|
@@ -12979,7 +13002,7 @@ class MapsTooltip {
|
|
|
12979
13002
|
options: tooltipOption,
|
|
12980
13003
|
fill: option.fill,
|
|
12981
13004
|
maps: this.maps,
|
|
12982
|
-
element: target, eventArgs: e
|
|
13005
|
+
element: target, eventArgs: e, content: !isNullOrUndefined(currentData) ? currentData.toString() : ''
|
|
12983
13006
|
};
|
|
12984
13007
|
this.maps.trigger(tooltipRender, tooltipArgs, (args) => {
|
|
12985
13008
|
if (!tooltipArgs.cancel && option.visible && !isNullOrUndefined(currentData) &&
|
|
@@ -12997,7 +13020,7 @@ class MapsTooltip {
|
|
|
12997
13020
|
header: '',
|
|
12998
13021
|
data: option['data'],
|
|
12999
13022
|
template: option['template'],
|
|
13000
|
-
content: [currentData.toString()],
|
|
13023
|
+
content: tooltipArgs.content.toString() != currentData.toString() ? [tooltipArgs.content.toString()] : [currentData.toString()],
|
|
13001
13024
|
shapes: [],
|
|
13002
13025
|
location: option['location'],
|
|
13003
13026
|
palette: [markerFill],
|
|
@@ -13013,7 +13036,7 @@ class MapsTooltip {
|
|
|
13013
13036
|
header: '',
|
|
13014
13037
|
data: tooltipArgs.options['data'],
|
|
13015
13038
|
template: tooltipArgs.options['template'],
|
|
13016
|
-
content: [currentData.toString()],
|
|
13039
|
+
content: tooltipArgs.content.toString() != currentData.toString() ? [tooltipArgs.content.toString()] : [currentData.toString()],
|
|
13017
13040
|
shapes: [],
|
|
13018
13041
|
location: tooltipArgs.options['location'],
|
|
13019
13042
|
palette: [markerFill],
|
|
@@ -13575,7 +13598,7 @@ class Zoom {
|
|
|
13575
13598
|
if (this.maps.isTileMap && (currentEle.id.indexOf('_line_Group') > -1)) {
|
|
13576
13599
|
currentEle.remove();
|
|
13577
13600
|
if (layerElement.children.length > 0 && layerElement.children[0]) {
|
|
13578
|
-
layerElement.insertBefore(this.maps.navigationLineModule.renderNavigation(this.currentLayer, this.maps.tileZoomLevel, this.index), layerElement.children[
|
|
13601
|
+
layerElement.insertBefore(this.maps.navigationLineModule.renderNavigation(this.currentLayer, this.maps.tileZoomLevel, this.index), layerElement.children[1]);
|
|
13579
13602
|
}
|
|
13580
13603
|
else {
|
|
13581
13604
|
layerElement.appendChild(this.maps.navigationLineModule.renderNavigation(this.currentLayer, this.maps.tileZoomLevel, this.index));
|
|
@@ -13684,16 +13707,17 @@ class Zoom {
|
|
|
13684
13707
|
}
|
|
13685
13708
|
}
|
|
13686
13709
|
}
|
|
13687
|
-
else if (currentEle.id.indexOf('_dataLableIndex_Group') > -1) {
|
|
13710
|
+
else if (currentEle.id.indexOf('_dataLableIndex_Group') > -1 && !isNullOrUndefined(this.maps.layers[this.index])) {
|
|
13688
13711
|
this.intersect = [];
|
|
13689
13712
|
this.maps.zoomLabelPositions = [];
|
|
13690
13713
|
this.maps.zoomLabelPositions = this.maps.dataLabelModule.dataLabelCollections;
|
|
13714
|
+
let labelAnimate = !this.maps.isTileMap && animate$$1;
|
|
13691
13715
|
for (let k = 0; k < currentEle.childElementCount; k++) {
|
|
13692
13716
|
if (currentEle.childNodes[k]['id'].indexOf('_LabelIndex_') > -1) {
|
|
13693
13717
|
const labelIndex = parseFloat(currentEle.childNodes[k]['id'].split('_LabelIndex_')[1].split('_')[0]);
|
|
13694
13718
|
this.zoomshapewidth = currentEle.childNodes[k].getBoundingClientRect();
|
|
13695
13719
|
this.maps.zoomShapeCollection.push(this.zoomshapewidth);
|
|
13696
|
-
this.dataLabelTranslate(currentEle.childNodes[k], factor, x, y, scale, 'DataLabel',
|
|
13720
|
+
this.dataLabelTranslate(currentEle.childNodes[k], factor, x, y, scale, 'DataLabel', labelAnimate);
|
|
13697
13721
|
const dataLabel = this.maps.layers[this.index].dataLabelSettings;
|
|
13698
13722
|
const border = dataLabel.border;
|
|
13699
13723
|
if (k > 0 && border['width'] > 1) {
|
|
@@ -13907,7 +13931,7 @@ class Zoom {
|
|
|
13907
13931
|
}
|
|
13908
13932
|
if (this.maps.layers[this.index].dataLabelSettings.smartLabelMode === 'Hide') {
|
|
13909
13933
|
if (scale > 1) {
|
|
13910
|
-
text = (this.
|
|
13934
|
+
text = ((this.maps.dataLabelShape[l] * scale) >= zoomtextSize['width']) ? zoomtext : '';
|
|
13911
13935
|
element.innerHTML = text;
|
|
13912
13936
|
}
|
|
13913
13937
|
else {
|
|
@@ -13917,7 +13941,7 @@ class Zoom {
|
|
|
13917
13941
|
}
|
|
13918
13942
|
if (this.maps.layers[this.index].dataLabelSettings.smartLabelMode === 'Trim') {
|
|
13919
13943
|
if (scale > 1) {
|
|
13920
|
-
zoomtrimLabel = textTrim(this.
|
|
13944
|
+
zoomtrimLabel = textTrim((this.maps.dataLabelShape[l] * scale), zoomtext, style);
|
|
13921
13945
|
text = zoomtrimLabel;
|
|
13922
13946
|
element.innerHTML = text;
|
|
13923
13947
|
}
|
|
@@ -13955,7 +13979,7 @@ class Zoom {
|
|
|
13955
13979
|
|| textLocations['heightTop'] > this.intersect[j]['heightBottom']) {
|
|
13956
13980
|
trimmedLable = !isNullOrUndefined(text) ? text : zoomtext;
|
|
13957
13981
|
if (scale > 1) {
|
|
13958
|
-
trimmedLable = textTrim(this.
|
|
13982
|
+
trimmedLable = textTrim((this.maps.dataLabelShape[l] * scale), trimmedLable, style);
|
|
13959
13983
|
}
|
|
13960
13984
|
element.innerHTML = trimmedLable;
|
|
13961
13985
|
}
|
|
@@ -13981,11 +14005,11 @@ class Zoom {
|
|
|
13981
14005
|
}
|
|
13982
14006
|
this.intersect.push(textLocations);
|
|
13983
14007
|
if (isNullOrUndefined(trimmedLable)) {
|
|
13984
|
-
trimmedLable = textTrim(this.
|
|
14008
|
+
trimmedLable = textTrim((this.maps.dataLabelShape[l] * scale), zoomtext, style);
|
|
13985
14009
|
element.innerHTML = trimmedLable;
|
|
13986
14010
|
}
|
|
13987
14011
|
}
|
|
13988
|
-
|
|
14012
|
+
if (animate$$1 || duration > 0) {
|
|
13989
14013
|
smoothTranslate(element, 0, duration, new MapLocation(labelX, labelY));
|
|
13990
14014
|
}
|
|
13991
14015
|
}
|
|
@@ -14266,6 +14290,7 @@ class Zoom {
|
|
|
14266
14290
|
if (document.getElementById(this.maps.element.id + '_LayerIndex_1')) {
|
|
14267
14291
|
document.getElementById(this.maps.element.id + '_LayerIndex_1').style.display = 'block';
|
|
14268
14292
|
}
|
|
14293
|
+
this.maps.isAddLayer = false;
|
|
14269
14294
|
}, animationDuration);
|
|
14270
14295
|
}
|
|
14271
14296
|
}
|
|
@@ -15308,5 +15333,5 @@ class PdfExport {
|
|
|
15308
15333
|
* exporting all modules from maps index
|
|
15309
15334
|
*/
|
|
15310
15335
|
|
|
15311
|
-
export { Maps, load, loaded, click, rightClick, doubleClick, resize, tooltipRender, shapeSelected, shapeHighlight, mousemove, mouseup, mousedown, layerRendering, shapeRendering, markerRendering, markerClusterRendering, markerClick, markerClusterClick, markerMouseMove, markerClusterMouseMove, dataLabelRendering, bubbleRendering, bubbleClick, bubbleMouseMove, animationComplete, legendRendering, annotationRendering, itemSelection, itemHighlight, beforePrint, zoomIn, zoomOut, pan, Annotation, Arrow, Font, Border, CenterPosition, TooltipSettings, Margin, ConnectorLineSettings, MarkerClusterSettings, MarkerClusterData, ColorMappingSettings, InitialMarkerSelectionSettings, InitialShapeSelectionSettings, SelectionSettings, HighlightSettings, NavigationLineSettings, BubbleSettings, CommonTitleSettings, SubTitleSettings, TitleSettings, ZoomSettings, ToggleLegendSettings, LegendSettings, DataLabelSettings, ShapeSettings, MarkerBase, MarkerSettings, LayerSettings, Tile, MapsAreaSettings, Size, stringToNumber, calculateSize, createSvg, getMousePosition, degreesToRadians, radiansToDegrees, convertGeoToPoint, convertTileLatLongToPoint, xToCoordinate, yToCoordinate, aitoff, roundTo, sinci, acos, calculateBound, triggerDownload, Point, MinMax, GeoLocation, measureText, TextOption, PathOption, ColorValue, RectOption, CircleOption, PolygonOption, PolylineOption, LineOption, Line, MapLocation, Rect, PatternOptions, renderTextElement, convertElement, formatValue, convertStringToValue, convertElementFromLabel, drawSymbols, getValueFromObject, markerColorChoose, markerShapeChoose, clusterTemplate, mergeSeparateCluster, clusterSeparate, marker, markerTemplate, maintainSelection, 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, drawSymbol, renderLegendShape, getElementOffset, changeBorderWidth, changeNavaigationLineWidth, targetTouches, calculateScale, getDistance, getTouches, getTouchCenter, sum, zoomAnimate, animate, MapAjax, smoothTranslate, compareZoomFactor, calculateZoomLevel, processResult, LayerPanel, Bubble, BingMap, Marker, ColorMapping, DataLabel, NavigationLine, Legend, Highlight, Selection, MapsTooltip, Zoom, Annotations, Print, ImageExport, PdfExport };
|
|
15336
|
+
export { Maps, load, loaded, click, onclick, rightClick, doubleClick, resize, tooltipRender, shapeSelected, shapeHighlight, mousemove, mouseup, mousedown, layerRendering, shapeRendering, markerRendering, markerClusterRendering, markerClick, markerClusterClick, markerMouseMove, markerClusterMouseMove, dataLabelRendering, bubbleRendering, bubbleClick, bubbleMouseMove, animationComplete, legendRendering, annotationRendering, itemSelection, itemHighlight, beforePrint, zoomIn, zoomOut, pan, Annotation, Arrow, Font, Border, CenterPosition, TooltipSettings, Margin, ConnectorLineSettings, MarkerClusterSettings, MarkerClusterData, ColorMappingSettings, InitialMarkerSelectionSettings, InitialShapeSelectionSettings, SelectionSettings, HighlightSettings, NavigationLineSettings, BubbleSettings, CommonTitleSettings, SubTitleSettings, TitleSettings, ZoomSettings, ToggleLegendSettings, LegendSettings, DataLabelSettings, ShapeSettings, MarkerBase, MarkerSettings, LayerSettings, Tile, MapsAreaSettings, Size, stringToNumber, calculateSize, createSvg, getMousePosition, degreesToRadians, radiansToDegrees, convertGeoToPoint, convertTileLatLongToPoint, xToCoordinate, yToCoordinate, aitoff, roundTo, sinci, acos, calculateBound, triggerDownload, Point, MinMax, GeoLocation, measureText, TextOption, PathOption, ColorValue, RectOption, CircleOption, PolygonOption, PolylineOption, LineOption, Line, MapLocation, Rect, PatternOptions, renderTextElement, convertElement, formatValue, convertStringToValue, convertElementFromLabel, drawSymbols, getValueFromObject, markerColorChoose, markerShapeChoose, clusterTemplate, mergeSeparateCluster, clusterSeparate, marker, markerTemplate, maintainSelection, 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, drawSymbol, renderLegendShape, getElementOffset, changeBorderWidth, changeNavaigationLineWidth, targetTouches, calculateScale, getDistance, getTouches, getTouchCenter, sum, zoomAnimate, animate, MapAjax, smoothTranslate, compareZoomFactor, calculateZoomLevel, processResult, LayerPanel, Bubble, BingMap, Marker, ColorMapping, DataLabel, NavigationLine, Legend, Highlight, Selection, MapsTooltip, Zoom, Annotations, Print, ImageExport, PdfExport };
|
|
15312
15337
|
//# sourceMappingURL=ej2-maps.es2015.js.map
|