@syncfusion/ej2-maps 19.4.53 → 20.1.47
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 +30 -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 +144 -67
- package/dist/es6/ej2-maps.es2015.js.map +1 -1
- package/dist/es6/ej2-maps.es5.js +143 -66
- 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/data-label.js +1 -1
- package/src/maps/layers/legend.js +1 -1
- package/src/maps/layers/marker.js +4 -4
- package/src/maps/maps.d.ts +1 -0
- package/src/maps/maps.js +28 -17
- package/src/maps/model/export-image.js +15 -9
- package/src/maps/model/export-pdf.js +11 -6
- package/src/maps/model/print.js +24 -2
- package/src/maps/model/theme.js +4 -4
- package/src/maps/user-interaction/annotation.js +1 -1
- package/src/maps/user-interaction/tooltip.d.ts +2 -1
- package/src/maps/user-interaction/tooltip.js +17 -9
- package/src/maps/user-interaction/zoom.js +10 -10
- package/src/maps/utils/enum.d.ts +5 -1
- package/src/maps/utils/helper.d.ts +9 -1
- package/src/maps/utils/helper.js +29 -4
package/dist/es6/ej2-maps.es5.js
CHANGED
|
@@ -1257,7 +1257,7 @@ function marker(eventArgs, markerSettings, markerData, dataIndex, location, tran
|
|
|
1257
1257
|
*/
|
|
1258
1258
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1259
1259
|
function markerTemplate(eventArgs, templateFn, markerID, data, markerIndex, markerTemplate, location, transPoint, scale, offset, maps) {
|
|
1260
|
-
templateFn = getTemplateFunction(eventArgs.template);
|
|
1260
|
+
templateFn = getTemplateFunction(eventArgs.template, maps);
|
|
1261
1261
|
if (templateFn && (templateFn(data, maps, eventArgs.template, maps.element.id + '_MarkerTemplate' + markerIndex, false).length)) {
|
|
1262
1262
|
var templateElement = templateFn(data, maps, eventArgs.template, maps.element.id + '_MarkerTemplate' + markerIndex, false);
|
|
1263
1263
|
var markerElement = convertElement(templateElement, markerID, data, markerIndex, maps);
|
|
@@ -1293,8 +1293,10 @@ function maintainSelection(elementId, elementClass, element, className) {
|
|
|
1293
1293
|
if (elementId) {
|
|
1294
1294
|
for (var index = 0; index < elementId.length; index++) {
|
|
1295
1295
|
if (element.getAttribute('id') === elementId[index]) {
|
|
1296
|
-
if (
|
|
1297
|
-
|
|
1296
|
+
if (index === 0 || element.tagName === 'g') {
|
|
1297
|
+
if (!isNullOrUndefined(elementClass) && !isNullOrUndefined(elementClass.id)) {
|
|
1298
|
+
document.body.appendChild(elementClass);
|
|
1299
|
+
}
|
|
1298
1300
|
if (element.id.indexOf('_MarkerIndex_') > -1 && element.childElementCount > 0) {
|
|
1299
1301
|
element.children[0].setAttribute('class', className);
|
|
1300
1302
|
}
|
|
@@ -2254,6 +2256,22 @@ function fixInitialScaleForTile(map) {
|
|
|
2254
2256
|
function getElementByID(id) {
|
|
2255
2257
|
return document.getElementById(id);
|
|
2256
2258
|
}
|
|
2259
|
+
/**
|
|
2260
|
+
* Function to get clientElement from id.
|
|
2261
|
+
*
|
|
2262
|
+
* @param {string} id - Specifies the id
|
|
2263
|
+
* @returns {Element} - Returns the element
|
|
2264
|
+
* @private
|
|
2265
|
+
*/
|
|
2266
|
+
function getClientElement(id) {
|
|
2267
|
+
var element = document.getElementById(id);
|
|
2268
|
+
if (!isNullOrUndefined(element)) {
|
|
2269
|
+
return element.getClientRects()[0];
|
|
2270
|
+
}
|
|
2271
|
+
else {
|
|
2272
|
+
return null;
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2257
2275
|
/**
|
|
2258
2276
|
* To apply internalization
|
|
2259
2277
|
*
|
|
@@ -2274,7 +2292,7 @@ function Internalize(maps, value) {
|
|
|
2274
2292
|
* @private
|
|
2275
2293
|
*/
|
|
2276
2294
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2277
|
-
function getTemplateFunction(template) {
|
|
2295
|
+
function getTemplateFunction(template, maps) {
|
|
2278
2296
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2279
2297
|
var templateFn = null;
|
|
2280
2298
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -2282,6 +2300,9 @@ function getTemplateFunction(template) {
|
|
|
2282
2300
|
if (document.querySelectorAll(template).length) {
|
|
2283
2301
|
templateFn = compile(document.querySelector(template).innerHTML.trim());
|
|
2284
2302
|
}
|
|
2303
|
+
else if (maps.isVue || maps.isVue3) {
|
|
2304
|
+
templateFn = compile(template);
|
|
2305
|
+
}
|
|
2285
2306
|
}
|
|
2286
2307
|
catch (e) {
|
|
2287
2308
|
templateFn = compile(template);
|
|
@@ -2685,6 +2706,7 @@ function createTooltip(id, text, top, left, fontSize) {
|
|
|
2685
2706
|
'left:' + left.toString() + 'px;' +
|
|
2686
2707
|
'color: #000000; ' +
|
|
2687
2708
|
'background:' + '#FFFFFF' + ';' +
|
|
2709
|
+
'z-index: 2;' +
|
|
2688
2710
|
'position:absolute;border:1px solid #707070;font-size:' + fontSize + ';border-radius:2px;';
|
|
2689
2711
|
if (!tooltip) {
|
|
2690
2712
|
tooltip = createElement('div', {
|
|
@@ -2885,6 +2907,9 @@ function changeBorderWidth(element, index, scale, maps) {
|
|
|
2885
2907
|
currentStroke = (isNullOrUndefined(borderWidth) ? 0 : borderWidth);
|
|
2886
2908
|
}
|
|
2887
2909
|
}
|
|
2910
|
+
else {
|
|
2911
|
+
currentStroke = (isNullOrUndefined(borderWidth) ? 0 : borderWidth);
|
|
2912
|
+
}
|
|
2888
2913
|
}
|
|
2889
2914
|
else {
|
|
2890
2915
|
currentStroke = (isNullOrUndefined(borderWidth) ? 0 : borderWidth);
|
|
@@ -3413,11 +3438,11 @@ function getShapeColor(theme) {
|
|
|
3413
3438
|
themePalette = ['#5ECB9B', '#A860F1', '#EBA844', '#557EF7', '#E9599B',
|
|
3414
3439
|
'#BFC529', '#3BC6CF', '#7A68EC', '#74B706', '#EA6266'];
|
|
3415
3440
|
break;
|
|
3416
|
-
case '
|
|
3441
|
+
case 'fluent':
|
|
3417
3442
|
themePalette = ['#614570', '#4C6FB1', '#CC6952', '#3F579A', '#4EA09B',
|
|
3418
3443
|
'#6E7A89', '#D4515C', '#E6AF5D', '#639751', '#9D4D69'];
|
|
3419
3444
|
break;
|
|
3420
|
-
case '
|
|
3445
|
+
case 'fluentdark':
|
|
3421
3446
|
themePalette = ['#8AB113', '#2A72D5', '#43B786', '#584EC6', '#E85F9C',
|
|
3422
3447
|
'#6E7A89', '#EA6266', '#EBA844', '#26BC7A', '#BC4870'];
|
|
3423
3448
|
break;
|
|
@@ -3706,7 +3731,7 @@ function getThemeStyle(theme) {
|
|
|
3706
3731
|
shapeFill: '#495057'
|
|
3707
3732
|
};
|
|
3708
3733
|
break;
|
|
3709
|
-
case '
|
|
3734
|
+
case 'fluent':
|
|
3710
3735
|
style = {
|
|
3711
3736
|
backgroundColor: 'rgba(255,255,255, 0.0)',
|
|
3712
3737
|
areaBackgroundColor: 'rgba(255,255,255, 0.0)',
|
|
@@ -3729,7 +3754,7 @@ function getThemeStyle(theme) {
|
|
|
3729
3754
|
shapeFill: '#F3F2F1'
|
|
3730
3755
|
};
|
|
3731
3756
|
break;
|
|
3732
|
-
case '
|
|
3757
|
+
case 'fluentdark':
|
|
3733
3758
|
style = {
|
|
3734
3759
|
backgroundColor: 'rgba(255,255,255, 0.0)',
|
|
3735
3760
|
areaBackgroundColor: 'rgba(255,255,255, 0.0)',
|
|
@@ -4858,10 +4883,10 @@ var Marker = /** @__PURE__ @class */ (function () {
|
|
|
4858
4883
|
eventArgs = markerShapeChoose(eventArgs, data);
|
|
4859
4884
|
var lng = (!isNullOrUndefined(markerSettings.longitudeValuePath)) ?
|
|
4860
4885
|
Number(getValueFromObject(data, markerSettings.longitudeValuePath)) : !isNullOrUndefined(data['longitude']) ?
|
|
4861
|
-
parseFloat(data['longitude']) : !isNullOrUndefined(data['Longitude']) ? parseFloat(data['Longitude']) :
|
|
4886
|
+
parseFloat(data['longitude']) : !isNullOrUndefined(data['Longitude']) ? parseFloat(data['Longitude']) : null;
|
|
4862
4887
|
var lat = (!isNullOrUndefined(markerSettings.latitudeValuePath)) ?
|
|
4863
4888
|
Number(getValueFromObject(data, markerSettings.latitudeValuePath)) : !isNullOrUndefined(data['latitude']) ?
|
|
4864
|
-
parseFloat(data['latitude']) : !isNullOrUndefined(data['Latitude']) ? parseFloat(data['Latitude']) :
|
|
4889
|
+
parseFloat(data['latitude']) : !isNullOrUndefined(data['Latitude']) ? parseFloat(data['Latitude']) : null;
|
|
4865
4890
|
var offset = markerSettings.offset;
|
|
4866
4891
|
if (!eventArgs.cancel && markerSettings.visible && !isNullOrUndefined(lng) && !isNullOrUndefined(lat)) {
|
|
4867
4892
|
var markerID = _this.maps.element.id + '_LayerIndex_' + layerIndex + '_MarkerIndex_'
|
|
@@ -4906,7 +4931,7 @@ var Marker = /** @__PURE__ @class */ (function () {
|
|
|
4906
4931
|
_this.maps.renderReactTemplates();
|
|
4907
4932
|
}
|
|
4908
4933
|
}
|
|
4909
|
-
if (markerTemplateEle.childElementCount === (
|
|
4934
|
+
if (markerTemplateEle.childElementCount === (markerDataLength - markerCount - nullCount) && getElementByID(_this.maps.element.id + '_Secondary_Element')) {
|
|
4910
4935
|
getElementByID(_this.maps.element.id + '_Secondary_Element').appendChild(markerTemplateEle);
|
|
4911
4936
|
if (_this.maps.checkInitialRender) {
|
|
4912
4937
|
if (currentLayer.markerClusterSettings.allowClustering) {
|
|
@@ -5156,7 +5181,7 @@ var Marker = /** @__PURE__ @class */ (function () {
|
|
|
5156
5181
|
if ((target.indexOf('_cluster_') > -1)) {
|
|
5157
5182
|
var isClusterSame = false;
|
|
5158
5183
|
var clusterElement = document.getElementById(target.indexOf('_datalabel_') > -1 ? target.split('_datalabel_')[0] : target);
|
|
5159
|
-
var indexes = clusterElement.innerHTML.split(',').map(Number);
|
|
5184
|
+
var indexes = layer.markerClusterSettings.shape === 'Balloon' ? clusterElement.children[0].innerHTML.split(',').map(Number) : clusterElement.innerHTML.split(',').map(Number);
|
|
5160
5185
|
collection_1 = [];
|
|
5161
5186
|
for (var _i = 0, indexes_1 = indexes; _i < indexes_1.length; _i++) {
|
|
5162
5187
|
var i = indexes_1[_i];
|
|
@@ -7021,7 +7046,7 @@ var Annotations = /** @__PURE__ @class */ (function () {
|
|
|
7021
7046
|
if (argsData.cancel) {
|
|
7022
7047
|
return;
|
|
7023
7048
|
}
|
|
7024
|
-
templateFn = getTemplateFunction(argsData.content);
|
|
7049
|
+
templateFn = getTemplateFunction(argsData.content, _this.map);
|
|
7025
7050
|
if (templateFn && templateFn(_this.map, _this.map, argsData.content, _this.map.element.id + '_ContentTemplate_' + annotationIndex).length) {
|
|
7026
7051
|
templateElement = Array.prototype.slice.call(templateFn(_this.map, _this.map, argsData.content, _this.map.element.id + '_ContentTemplate_' + annotationIndex));
|
|
7027
7052
|
var length_1 = templateElement.length;
|
|
@@ -7488,12 +7513,14 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
|
|
|
7488
7513
|
this.checkInitialRender = false;
|
|
7489
7514
|
}
|
|
7490
7515
|
}
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
&& this.layers[i].markerSettings[k].
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7516
|
+
if (!this.isResize) {
|
|
7517
|
+
for (var k = 0; k < this.layers[i].markerSettings.length; k++) {
|
|
7518
|
+
if (this.layers[i].markerSettings[k].selectionSettings && this.layers[i].markerSettings[k].selectionSettings.enable
|
|
7519
|
+
&& this.layers[i].markerSettings[k].initialMarkerSelection.length > 0) {
|
|
7520
|
+
var markerSelectionValues = this.layers[i].markerSettings[k].initialMarkerSelection;
|
|
7521
|
+
for (var j = 0; j < markerSelectionValues.length; j++) {
|
|
7522
|
+
this.markerInitialSelection(i, k, this.layers[i].markerSettings[k], markerSelectionValues[j].latitude, markerSelectionValues[j].longitude);
|
|
7523
|
+
}
|
|
7497
7524
|
}
|
|
7498
7525
|
}
|
|
7499
7526
|
}
|
|
@@ -7571,7 +7598,8 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
|
|
|
7571
7598
|
Maps.prototype.markerSelection = function (selectionSettings, map, targetElement, data) {
|
|
7572
7599
|
var border = {
|
|
7573
7600
|
color: selectionSettings.border.color,
|
|
7574
|
-
width: selectionSettings.border.width / map.scale
|
|
7601
|
+
width: selectionSettings.border.width / map.scale,
|
|
7602
|
+
opacity: selectionSettings.border.opacity
|
|
7575
7603
|
};
|
|
7576
7604
|
var markerSelectionProperties = {
|
|
7577
7605
|
opacity: selectionSettings.opacity,
|
|
@@ -7591,9 +7619,11 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
|
|
|
7591
7619
|
if (this.selectedMarkerElementId.length === 0 || selectionSettings.enableMultiSelect) {
|
|
7592
7620
|
if (targetElement.tagName === 'g') {
|
|
7593
7621
|
targetElement.children[0].setAttribute('class', 'MarkerselectionMapStyle');
|
|
7622
|
+
this.selectedMarkerElementId.push(targetElement.children[0].id);
|
|
7594
7623
|
}
|
|
7595
7624
|
else {
|
|
7596
7625
|
targetElement.setAttribute('class', 'MarkerselectionMapStyle');
|
|
7626
|
+
this.selectedMarkerElementId.push(targetElement.id);
|
|
7597
7627
|
}
|
|
7598
7628
|
}
|
|
7599
7629
|
};
|
|
@@ -8110,20 +8140,23 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
|
|
|
8110
8140
|
_this.notify(click, targetEle);
|
|
8111
8141
|
}
|
|
8112
8142
|
if (!eventArgs_1.cancel && targetEle.id.indexOf('shapeIndex') !== -1) {
|
|
8113
|
-
|
|
8114
|
-
var shapeSelectedEventArgs = triggerShapeEvent(targetId, _this.layers[layerIndex].selectionSettings, _this, shapeSelected);
|
|
8115
|
-
if (!shapeSelectedEventArgs.cancel && _this.selectionModule && !isNullOrUndefined(_this.shapeSelected)) {
|
|
8116
|
-
customizeStyle(_this.selectionModule.selectionType + 'selectionMap', _this.selectionModule.selectionType + 'selectionMapStyle', shapeSelectedEventArgs);
|
|
8117
|
-
}
|
|
8118
|
-
else if (shapeSelectedEventArgs.cancel && _this.selectionModule
|
|
8119
|
-
&& isNullOrUndefined(shapeSelectedEventArgs['data'])) {
|
|
8120
|
-
removeClass(targetEle);
|
|
8121
|
-
_this.selectionModule.removedSelectionList(targetEle);
|
|
8122
|
-
}
|
|
8143
|
+
_this.triggerShapeSelection(targetEle);
|
|
8123
8144
|
}
|
|
8124
8145
|
});
|
|
8125
8146
|
}
|
|
8126
8147
|
};
|
|
8148
|
+
Maps.prototype.triggerShapeSelection = function (targetEle) {
|
|
8149
|
+
var layerIndex = parseInt(targetEle.id.split('_LayerIndex_')[1].split('_')[0], 10);
|
|
8150
|
+
var shapeSelectedEventArgs = triggerShapeEvent(targetEle.id, this.layers[layerIndex].selectionSettings, this, shapeSelected);
|
|
8151
|
+
if (!shapeSelectedEventArgs.cancel && this.selectionModule && !isNullOrUndefined(this.shapeSelected)) {
|
|
8152
|
+
customizeStyle(this.selectionModule.selectionType + 'selectionMap', this.selectionModule.selectionType + 'selectionMapStyle', shapeSelectedEventArgs);
|
|
8153
|
+
}
|
|
8154
|
+
else if (shapeSelectedEventArgs.cancel && this.selectionModule
|
|
8155
|
+
&& isNullOrUndefined(shapeSelectedEventArgs['data'])) {
|
|
8156
|
+
removeClass(targetEle);
|
|
8157
|
+
this.selectionModule.removedSelectionList(targetEle);
|
|
8158
|
+
}
|
|
8159
|
+
};
|
|
8127
8160
|
Maps.prototype.getClickLocation = function (targetId, pageX, pageY, targetElement, x, y) {
|
|
8128
8161
|
var layerIndex = 0;
|
|
8129
8162
|
var latLongValue;
|
|
@@ -8245,6 +8278,9 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
|
|
|
8245
8278
|
var markerModule = this.markerModule;
|
|
8246
8279
|
if (element.id.indexOf('shapeIndex') > -1 || element.id.indexOf('Tile') > -1) {
|
|
8247
8280
|
this.mergeCluster();
|
|
8281
|
+
if (element.id.indexOf('shapeIndex') > -1) {
|
|
8282
|
+
this.triggerShapeSelection(element);
|
|
8283
|
+
}
|
|
8248
8284
|
}
|
|
8249
8285
|
if (markerModule) {
|
|
8250
8286
|
markerModule.markerClick(e);
|
|
@@ -9909,7 +9945,7 @@ var DataLabel = /** @__PURE__ @class */ (function () {
|
|
|
9909
9945
|
_this.value[index] = { rightWidth: xpositionEnds, leftWidth: xpositionStart, heightTop: start, heightBottom: end };
|
|
9910
9946
|
var labelElement;
|
|
9911
9947
|
if (eventargs_1.template !== '') {
|
|
9912
|
-
templateFn = getTemplateFunction(eventargs_1.template);
|
|
9948
|
+
templateFn = getTemplateFunction(eventargs_1.template, _this.maps);
|
|
9913
9949
|
var templateElement = templateFn ? templateFn(!isNullOrUndefined(datasrcObj) ?
|
|
9914
9950
|
datasrcObj : shapeData['properties'], _this.maps, eventargs_1.template, _this.maps.element.id + '_LabelTemplate', false) : document.createElement('div');
|
|
9915
9951
|
templateElement.innerHTML = !templateFn ? eventargs_1.template : '';
|
|
@@ -11521,7 +11557,7 @@ var Legend = /** @__PURE__ @class */ (function () {
|
|
|
11521
11557
|
data[_this.maps.legendSettings.showLegendPath];
|
|
11522
11558
|
if (marker$$1.visible && showLegend && (!isNullOrUndefined(data['latitude'])) && (!isNullOrUndefined(data['longitude']))) {
|
|
11523
11559
|
if (marker$$1.template) {
|
|
11524
|
-
templateFn = getTemplateFunction(marker$$1.template);
|
|
11560
|
+
templateFn = getTemplateFunction(marker$$1.template, _this.maps);
|
|
11525
11561
|
var templateElement = templateFn(_this.maps);
|
|
11526
11562
|
var markerEle = isNullOrUndefined(templateElement.childElementCount) ? templateElement[0] :
|
|
11527
11563
|
templateElement;
|
|
@@ -13014,6 +13050,10 @@ var MapsTooltip = /** @__PURE__ @class */ (function () {
|
|
|
13014
13050
|
fill: tooltipArgs.fill || _this.maps.themeStyle.tooltipFillColor
|
|
13015
13051
|
});
|
|
13016
13052
|
}
|
|
13053
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
13054
|
+
if (_this.maps.isVue || _this.maps.isVue3) {
|
|
13055
|
+
_this.svgTooltip.controlInstance = _this.maps;
|
|
13056
|
+
}
|
|
13017
13057
|
_this.svgTooltip.opacity = _this.maps.themeStyle.tooltipFillOpacity || _this.svgTooltip.opacity;
|
|
13018
13058
|
_this.svgTooltip.appendTo(tooltipEle);
|
|
13019
13059
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -13027,9 +13067,7 @@ var MapsTooltip = /** @__PURE__ @class */ (function () {
|
|
|
13027
13067
|
}
|
|
13028
13068
|
}
|
|
13029
13069
|
else {
|
|
13030
|
-
_this.
|
|
13031
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
13032
|
-
_this.maps.clearTemplate();
|
|
13070
|
+
_this.clearTooltip();
|
|
13033
13071
|
}
|
|
13034
13072
|
});
|
|
13035
13073
|
if (this.svgTooltip) {
|
|
@@ -13044,9 +13082,7 @@ var MapsTooltip = /** @__PURE__ @class */ (function () {
|
|
|
13044
13082
|
});
|
|
13045
13083
|
}
|
|
13046
13084
|
else {
|
|
13047
|
-
this.
|
|
13048
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
13049
|
-
this.maps.clearTemplate();
|
|
13085
|
+
this.clearTooltip();
|
|
13050
13086
|
}
|
|
13051
13087
|
}
|
|
13052
13088
|
else {
|
|
@@ -13056,9 +13092,7 @@ var MapsTooltip = /** @__PURE__ @class */ (function () {
|
|
|
13056
13092
|
this.maps.notify(click, this);
|
|
13057
13093
|
}
|
|
13058
13094
|
else {
|
|
13059
|
-
this.
|
|
13060
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
13061
|
-
this.maps.clearTemplate();
|
|
13095
|
+
this.clearTooltip();
|
|
13062
13096
|
}
|
|
13063
13097
|
}
|
|
13064
13098
|
};
|
|
@@ -13104,8 +13138,18 @@ var MapsTooltip = /** @__PURE__ @class */ (function () {
|
|
|
13104
13138
|
}
|
|
13105
13139
|
};
|
|
13106
13140
|
MapsTooltip.prototype.removeTooltip = function () {
|
|
13141
|
+
var isTooltipRemoved = false;
|
|
13107
13142
|
if (document.getElementsByClassName('EJ2-maps-Tooltip').length > 0) {
|
|
13108
13143
|
remove(document.getElementsByClassName('EJ2-maps-Tooltip')[0]);
|
|
13144
|
+
isTooltipRemoved = true;
|
|
13145
|
+
}
|
|
13146
|
+
return isTooltipRemoved;
|
|
13147
|
+
};
|
|
13148
|
+
MapsTooltip.prototype.clearTooltip = function () {
|
|
13149
|
+
var isTooltipRemoved = this.removeTooltip();
|
|
13150
|
+
if (isTooltipRemoved) {
|
|
13151
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
13152
|
+
this.maps.clearTemplate();
|
|
13109
13153
|
}
|
|
13110
13154
|
};
|
|
13111
13155
|
// eslint-disable-next-line valid-jsdoc
|
|
@@ -13696,10 +13740,10 @@ var Zoom = /** @__PURE__ @class */ (function () {
|
|
|
13696
13740
|
}
|
|
13697
13741
|
var lati = (!isNullOrUndefined(markerSettings.latitudeValuePath)) ?
|
|
13698
13742
|
Number(getValueFromObject(data, markerSettings.latitudeValuePath)) : !isNullOrUndefined(data['latitude']) ?
|
|
13699
|
-
parseFloat(data['latitude']) : !isNullOrUndefined(data['Latitude']) ? data['Latitude'] :
|
|
13743
|
+
parseFloat(data['latitude']) : !isNullOrUndefined(data['Latitude']) ? data['Latitude'] : null;
|
|
13700
13744
|
var long = (!isNullOrUndefined(markerSettings.longitudeValuePath)) ?
|
|
13701
13745
|
Number(getValueFromObject(data, markerSettings.longitudeValuePath)) : !isNullOrUndefined(data['longitude']) ?
|
|
13702
|
-
parseFloat(data['longitude']) : !isNullOrUndefined(data['Longitude']) ? data['Longitude'] :
|
|
13746
|
+
parseFloat(data['longitude']) : !isNullOrUndefined(data['Longitude']) ? data['Longitude'] : null;
|
|
13703
13747
|
var offset = markerSettings.offset;
|
|
13704
13748
|
if (!eventArgs.cancel && markerSettings.visible && !isNullOrUndefined(long) && !isNullOrUndefined(lati)) {
|
|
13705
13749
|
var markerID = _this.maps.element.id + '_LayerIndex_' + layerIndex + '_MarkerIndex_'
|
|
@@ -13719,10 +13763,10 @@ var Zoom = /** @__PURE__ @class */ (function () {
|
|
|
13719
13763
|
nullCount += (!isNaN(lati) && !isNaN(long)) ? 0 : 1;
|
|
13720
13764
|
markerTemplateCounts += (eventArgs.cancel) ? 1 : 0;
|
|
13721
13765
|
markerCounts += (eventArgs.cancel) ? 1 : 0;
|
|
13722
|
-
_this.maps.markerNullCount = (
|
|
13723
|
-
? _this.maps.markerNullCount : _this.maps.markerNullCount
|
|
13766
|
+
_this.maps.markerNullCount = (isNullOrUndefined(lati) || isNullOrUndefined(long))
|
|
13767
|
+
? _this.maps.markerNullCount + 1 : _this.maps.markerNullCount;
|
|
13724
13768
|
var markerDataLength = markerDatas.length - _this.maps.markerNullCount;
|
|
13725
|
-
if (markerSVGObject.childElementCount === (
|
|
13769
|
+
if (markerSVGObject.childElementCount === (markerDataLength - markerTemplateCounts - nullCount) && (type !== 'Template')) {
|
|
13726
13770
|
layerElement.appendChild(markerSVGObject);
|
|
13727
13771
|
if (currentLayers.markerClusterSettings.allowClustering) {
|
|
13728
13772
|
_this.maps.svgObject.appendChild(markerSVGObject);
|
|
@@ -13730,7 +13774,7 @@ var Zoom = /** @__PURE__ @class */ (function () {
|
|
|
13730
13774
|
clusterTemplate(currentLayers, markerSVGObject, _this.maps, layerIndex, markerSVGObject, layerElement, true, true);
|
|
13731
13775
|
}
|
|
13732
13776
|
}
|
|
13733
|
-
if (markerTemplateElements.childElementCount === (
|
|
13777
|
+
if (markerTemplateElements.childElementCount === (markerDataLength - markerCounts - nullCount) && getElementByID(_this.maps.element.id + '_Secondary_Element')) {
|
|
13734
13778
|
getElementByID(_this.maps.element.id + '_Secondary_Element').appendChild(markerTemplateElements);
|
|
13735
13779
|
if (scale >= 1) {
|
|
13736
13780
|
if (currentLayers.markerClusterSettings.allowClustering) {
|
|
@@ -14173,7 +14217,7 @@ var Zoom = /** @__PURE__ @class */ (function () {
|
|
|
14173
14217
|
var map = this.maps;
|
|
14174
14218
|
this.toolBarGroup = map.renderer.createGroup({
|
|
14175
14219
|
id: map.element.id + '_Zooming_KitCollection',
|
|
14176
|
-
opacity: map.theme.toLowerCase() === '
|
|
14220
|
+
opacity: map.theme.toLowerCase() === 'fluentdark' ? 0.6 : 0.3
|
|
14177
14221
|
});
|
|
14178
14222
|
var kitHeight = 16;
|
|
14179
14223
|
var kitWidth = 16;
|
|
@@ -14577,14 +14621,14 @@ var Zoom = /** @__PURE__ @class */ (function () {
|
|
|
14577
14621
|
if (document.getElementById(map.element.id + '_Zooming_ToolBar_Pan_Group')) {
|
|
14578
14622
|
if (!this.maps.zoomSettings.enablePanning) {
|
|
14579
14623
|
if (target.id.indexOf('_Zooming_ToolBar') > -1 || target.id.indexOf('_Zooming_Rect') > -1) {
|
|
14580
|
-
getElementByID(map.element.id + '_Zooming_ToolBar_Pan_Rect').setAttribute('opacity', map.theme.toLowerCase() === '
|
|
14581
|
-
getElementByID(map.element.id + '_Zooming_ToolBar_Pan').setAttribute('opacity', map.theme.toLowerCase() === '
|
|
14624
|
+
getElementByID(map.element.id + '_Zooming_ToolBar_Pan_Rect').setAttribute('opacity', map.theme.toLowerCase() === 'fluentdark' ? '0.6' : '0.3');
|
|
14625
|
+
getElementByID(map.element.id + '_Zooming_ToolBar_Pan').setAttribute('opacity', map.theme.toLowerCase() === 'fluentdark' ? '0.6' : '0.3');
|
|
14582
14626
|
}
|
|
14583
14627
|
}
|
|
14584
14628
|
}
|
|
14585
14629
|
}
|
|
14586
14630
|
else {
|
|
14587
|
-
getElementByID(map.element.id + '_Zooming_KitCollection').setAttribute('opacity', map.theme.toLowerCase() === '
|
|
14631
|
+
getElementByID(map.element.id + '_Zooming_KitCollection').setAttribute('opacity', map.theme.toLowerCase() === 'fluentdark' ? '0.6' : '0.3');
|
|
14588
14632
|
if (!this.maps.zoomSettings.enablePanning && document.getElementById(map.element.id + '_Zooming_ToolBar_Pan_Group')) {
|
|
14589
14633
|
getElementByID(map.element.id + '_Zooming_ToolBar_Pan_Rect').setAttribute('opacity', '1');
|
|
14590
14634
|
getElementByID(map.element.id + '_Zooming_ToolBar_Pan').setAttribute('opacity', '1');
|
|
@@ -14791,7 +14835,29 @@ var Print = /** @__PURE__ @class */ (function () {
|
|
|
14791
14835
|
* @private
|
|
14792
14836
|
*/
|
|
14793
14837
|
Print.prototype.getHTMLContent = function (elements) {
|
|
14838
|
+
var elementRect = getClientElement(this.control.element.id);
|
|
14794
14839
|
var div = createElement('div');
|
|
14840
|
+
var divElement = this.control.element.cloneNode(true);
|
|
14841
|
+
if (this.control.isTileMap) {
|
|
14842
|
+
for (var i = 0; i < divElement.childElementCount; i++) {
|
|
14843
|
+
if (divElement.children[i].id === this.control.element.id + '_tile_parent') {
|
|
14844
|
+
divElement.children[i].style.removeProperty('height');
|
|
14845
|
+
divElement.children[i].style.removeProperty('width');
|
|
14846
|
+
divElement.children[i].style.removeProperty('top');
|
|
14847
|
+
divElement.children[i].style.removeProperty('left');
|
|
14848
|
+
divElement.children[i].style.removeProperty('right');
|
|
14849
|
+
divElement.children[i].style.removeProperty('overflow');
|
|
14850
|
+
var svgElement = document.getElementById(this.control.element.id + '_Tile_SVG_Parent');
|
|
14851
|
+
divElement.children[i].children[0].style.overflow = 'hidden';
|
|
14852
|
+
divElement.children[i].children[0].style.position = 'absolute';
|
|
14853
|
+
divElement.children[i].children[0].style.height = svgElement.style.height;
|
|
14854
|
+
divElement.children[i].children[0].style.width = svgElement.style.width;
|
|
14855
|
+
divElement.children[i].children[0].style.left = svgElement.style.left;
|
|
14856
|
+
divElement.children[i].children[0].style.top = svgElement.style.top;
|
|
14857
|
+
break;
|
|
14858
|
+
}
|
|
14859
|
+
}
|
|
14860
|
+
}
|
|
14795
14861
|
if (elements) {
|
|
14796
14862
|
if (elements instanceof Array) {
|
|
14797
14863
|
Array.prototype.forEach.call(elements, function (value) {
|
|
@@ -14806,7 +14872,7 @@ var Print = /** @__PURE__ @class */ (function () {
|
|
|
14806
14872
|
}
|
|
14807
14873
|
}
|
|
14808
14874
|
else {
|
|
14809
|
-
div.appendChild(
|
|
14875
|
+
div.appendChild(divElement);
|
|
14810
14876
|
}
|
|
14811
14877
|
return div;
|
|
14812
14878
|
};
|
|
@@ -14872,17 +14938,19 @@ var ImageExport = /** @__PURE__ @class */ (function () {
|
|
|
14872
14938
|
var toolbarEle = document.getElementById(_this.control.element.id + '_ToolBar');
|
|
14873
14939
|
var svgParent = document.getElementById(_this.control.element.id + '_Tile_SVG_Parent');
|
|
14874
14940
|
var svgDataElement;
|
|
14941
|
+
var tileSvg;
|
|
14942
|
+
var svgObject = getElementByID(_this.control.element.id + '_svg').cloneNode(true);
|
|
14875
14943
|
if (!_this.control.isTileMap) {
|
|
14876
14944
|
svgDataElement = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">' +
|
|
14877
14945
|
_this.control.svgObject.outerHTML + '</svg>';
|
|
14878
14946
|
}
|
|
14879
14947
|
else {
|
|
14880
|
-
|
|
14948
|
+
tileSvg = getElementByID(_this.control.element.id + '_Tile_SVG').cloneNode(true);
|
|
14881
14949
|
svgDataElement = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">' +
|
|
14882
|
-
|
|
14950
|
+
svgObject.outerHTML + tileSvg.outerHTML + '</svg>';
|
|
14883
14951
|
}
|
|
14884
14952
|
var url = window.URL.createObjectURL(new Blob(type === 'SVG' ? [svgDataElement] :
|
|
14885
|
-
[(new XMLSerializer()).serializeToString(
|
|
14953
|
+
[(new XMLSerializer()).serializeToString(svgObject)], { type: 'image/svg+xml' }));
|
|
14886
14954
|
if (type === 'SVG') {
|
|
14887
14955
|
if (allowDownload) {
|
|
14888
14956
|
triggerDownload(fileName, type, url, isDownload);
|
|
@@ -14922,8 +14990,11 @@ var ImageExport = /** @__PURE__ @class */ (function () {
|
|
|
14922
14990
|
ctxt_1.fillStyle = _this.control.background ? _this.control.background : '#FFFFFF';
|
|
14923
14991
|
ctxt_1.fillRect(0, 0, _this.control.availableSize.width, _this.control.availableSize.height);
|
|
14924
14992
|
ctxt_1.font = _this.control.titleSettings.textStyle.size + ' Arial';
|
|
14925
|
-
|
|
14926
|
-
|
|
14993
|
+
var titleElement = document.getElementById(_this.control.element.id + '_Map_title');
|
|
14994
|
+
if (!isNullOrUndefined(titleElement)) {
|
|
14995
|
+
ctxt_1.fillStyle = titleElement.getAttribute('fill');
|
|
14996
|
+
ctxt_1.fillText(_this.control.titleSettings.text, parseFloat(titleElement.getAttribute('x')), parseFloat(titleElement.getAttribute('y')));
|
|
14997
|
+
}
|
|
14927
14998
|
exportTileImg.onload = (function () {
|
|
14928
14999
|
if (i === 0 || i === imgTileLength_1 + 1) {
|
|
14929
15000
|
if (i === 0) {
|
|
@@ -14936,8 +15007,9 @@ var ImageExport = /** @__PURE__ @class */ (function () {
|
|
|
14936
15007
|
}
|
|
14937
15008
|
}
|
|
14938
15009
|
else {
|
|
15010
|
+
var tileParent = document.getElementById(_this.control.element.id + '_tile_parent');
|
|
14939
15011
|
ctxt_1.setTransform(1, 0, 0, 1, parseFloat(tile.style.left) + 10, parseFloat(tile.style.top) +
|
|
14940
|
-
(parseFloat(
|
|
15012
|
+
(parseFloat(tileParent.style.top)));
|
|
14941
15013
|
}
|
|
14942
15014
|
ctxt_1.drawImage(exportTileImg, 0, 0);
|
|
14943
15015
|
if (i === imgTileLength_1 + 1) {
|
|
@@ -14963,7 +15035,7 @@ var ImageExport = /** @__PURE__ @class */ (function () {
|
|
|
14963
15035
|
}
|
|
14964
15036
|
else {
|
|
14965
15037
|
setTimeout(function () {
|
|
14966
|
-
exportTileImg.src = window.URL.createObjectURL(new Blob([(new XMLSerializer()).serializeToString(
|
|
15038
|
+
exportTileImg.src = window.URL.createObjectURL(new Blob([(new XMLSerializer()).serializeToString(tileSvg)], { type: 'image/svg+xml' }));
|
|
14967
15039
|
}, 300);
|
|
14968
15040
|
}
|
|
14969
15041
|
}
|
|
@@ -15046,8 +15118,8 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
15046
15118
|
var exportElement = _this.control.svgObject.cloneNode(true);
|
|
15047
15119
|
var backgroundElement = exportElement.childNodes[0];
|
|
15048
15120
|
var backgroundColor = backgroundElement.getAttribute('fill');
|
|
15049
|
-
if ((_this.control.theme === 'Tailwind' || _this.control.theme === 'TailwindDark' || _this.control.theme === 'Bootstrap5' || _this.control.theme === 'Bootstrap5Dark'
|
|
15050
|
-
&& (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
|
|
15121
|
+
if ((_this.control.theme === 'Tailwind' || _this.control.theme === 'TailwindDark' || _this.control.theme === 'Bootstrap5' || _this.control.theme === 'Bootstrap5Dark'
|
|
15122
|
+
|| _this.control.theme === 'Fluent' || _this.control.theme === 'FluentDark') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
|
|
15051
15123
|
exportElement.childNodes[0].setAttribute('fill', 'rgba(255,255,255, 1)');
|
|
15052
15124
|
}
|
|
15053
15125
|
var url = window.URL.createObjectURL(new Blob(type === 'SVG' ? [svgData] :
|
|
@@ -15085,8 +15157,11 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
15085
15157
|
ctx.fillStyle = _this.control.background ? _this.control.background : '#FFFFFF';
|
|
15086
15158
|
ctx.fillRect(0, 0, _this.control.availableSize.width, _this.control.availableSize.height);
|
|
15087
15159
|
ctx.font = _this.control.titleSettings.textStyle.size + ' Arial';
|
|
15088
|
-
|
|
15089
|
-
|
|
15160
|
+
var titleElement = document.getElementById(_this.control.element.id + '_Map_title');
|
|
15161
|
+
if (!isNullOrUndefined(titleElement)) {
|
|
15162
|
+
ctx.fillStyle = titleElement.getAttribute('fill');
|
|
15163
|
+
ctx.fillText(_this.control.titleSettings.text, parseFloat(titleElement.getAttribute('x')), parseFloat(titleElement.getAttribute('y')));
|
|
15164
|
+
}
|
|
15090
15165
|
tileImg.onload = (function () {
|
|
15091
15166
|
if (i === 0 || i === tileLength_1 + 1) {
|
|
15092
15167
|
if (i === 0) {
|
|
@@ -15099,8 +15174,9 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
15099
15174
|
}
|
|
15100
15175
|
}
|
|
15101
15176
|
else {
|
|
15177
|
+
var tileParent = document.getElementById(_this.control.element.id + '_tile_parent');
|
|
15102
15178
|
ctx.setTransform(1, 0, 0, 1, parseFloat(tile.style.left) + 10, parseFloat(tile.style.top) +
|
|
15103
|
-
(parseFloat(
|
|
15179
|
+
(parseFloat(tileParent.style.top)));
|
|
15104
15180
|
}
|
|
15105
15181
|
ctx.drawImage(tileImg, 0, 0);
|
|
15106
15182
|
if (i === tileLength_1 + 1) {
|
|
@@ -15126,7 +15202,8 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
15126
15202
|
}
|
|
15127
15203
|
else {
|
|
15128
15204
|
setTimeout(function () {
|
|
15129
|
-
|
|
15205
|
+
var tileSvg = document.getElementById(_this.control.element.id + '_Tile_SVG');
|
|
15206
|
+
tileImg.src = window.URL.createObjectURL(new Blob([(new XMLSerializer()).serializeToString(tileSvg)], { type: 'image/svg+xml' }));
|
|
15130
15207
|
}, 300);
|
|
15131
15208
|
}
|
|
15132
15209
|
}
|
|
@@ -15174,5 +15251,5 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
15174
15251
|
* exporting all modules from maps index
|
|
15175
15252
|
*/
|
|
15176
15253
|
|
|
15177
|
-
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, 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 };
|
|
15254
|
+
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 };
|
|
15178
15255
|
//# sourceMappingURL=ej2-maps.es5.js.map
|