@syncfusion/ej2-maps 19.4.42 → 19.4.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.
@@ -8624,6 +8624,7 @@ let Maps = class Maps extends Component {
8624
8624
  }
8625
8625
  /**
8626
8626
  * To find space between the secondary element and svg element.
8627
+ * @private
8627
8628
  */
8628
8629
  getExtraPosition() {
8629
8630
  let top;
@@ -13949,8 +13950,9 @@ class Zoom {
13949
13950
  x = (size.width - toolBarSize.width) - padding;
13950
13951
  break;
13951
13952
  }
13952
- element.style.left = x + 'px';
13953
- element.style.top = y + 'px';
13953
+ let extraPosition = map.getExtraPosition();
13954
+ element.style.left = x + extraPosition.x + 'px';
13955
+ element.style.top = y + extraPosition.y + 'px';
13954
13956
  const color = this.maps.zoomSettings.highlightColor || this.maps.themeStyle.zoomSelectionColor;
13955
13957
  const css = ' .e-maps-toolbar:hover > circle { stroke:' + color + '; } .e-maps-toolbar:hover > path { fill: ' + color + ' ; stroke: ' + color + '; }' +
13956
13958
  '.e-maps-toolbar:hover { cursor: pointer; } .e-maps-cursor-disable:hover { cursor: not-allowed; } .e-maps-panning:hover { cursor: pointer; } ' +