@syncfusion/ej2-maps 22.1.39 → 22.2.8
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 +9 -1
- package/dist/ej2-maps.min.js +2 -2
- package/dist/ej2-maps.umd.min.js +2 -2
- package/dist/ej2-maps.umd.min.js.map +1 -1
- package/dist/es6/ej2-maps.es2015.js +9 -3
- package/dist/es6/ej2-maps.es2015.js.map +1 -1
- package/dist/es6/ej2-maps.es5.js +9 -3
- 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/layer-panel.js +8 -2
- package/src/maps/utils/helper.js +1 -1
|
@@ -1251,7 +1251,7 @@ function markerTemplate(eventArgs, templateFn, markerID, data, markerIndex, mark
|
|
|
1251
1251
|
const templateElement = templateFn(data, maps, eventArgs.template, maps.element.id + '_MarkerTemplate' + markerIndex, false);
|
|
1252
1252
|
const markerElement = convertElement(templateElement, markerID, data, markerIndex, maps);
|
|
1253
1253
|
for (let i = 0; i < markerElement.children.length; i++) {
|
|
1254
|
-
markerElement.children[i].style.pointerEvents = '
|
|
1254
|
+
markerElement.children[i].style.pointerEvents = 'auto';
|
|
1255
1255
|
}
|
|
1256
1256
|
markerElement.style.left = (maps.isTileMap ? location.x : (location.x + transPoint.x) * scale) + offset.x - maps.mapAreaRect.x + 'px';
|
|
1257
1257
|
markerElement.style.top = (maps.isTileMap ? location.y : (location.y + transPoint.y) * scale) + offset.y - maps.mapAreaRect.y + 'px';
|
|
@@ -6555,8 +6555,14 @@ class LayerPanel {
|
|
|
6555
6555
|
}
|
|
6556
6556
|
pathEle.setAttribute('aria-label', ((!isNullOrUndefined(currentShapeData['property'])) ?
|
|
6557
6557
|
(currentShapeData['property'][properties]) : ''));
|
|
6558
|
-
|
|
6559
|
-
|
|
6558
|
+
if (this.currentLayer.selectionSettings.enable || this.currentLayer.highlightSettings.enable) {
|
|
6559
|
+
pathEle.tabIndex = this.mapObject.tabIndex + index + 3;
|
|
6560
|
+
pathEle.setAttribute('role', 'button');
|
|
6561
|
+
pathEle.style.cursor = this.currentLayer.highlightSettings.enable && !this.currentLayer.selectionSettings.enable ? 'default' : 'pointer';
|
|
6562
|
+
}
|
|
6563
|
+
else {
|
|
6564
|
+
pathEle.setAttribute('role', 'region');
|
|
6565
|
+
}
|
|
6560
6566
|
if (drawingType === 'LineString' || drawingType === 'MultiLineString') {
|
|
6561
6567
|
pathEle.style.cssText = 'outline:none';
|
|
6562
6568
|
}
|