@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.
@@ -8910,6 +8910,7 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
8910
8910
  };
8911
8911
  /**
8912
8912
  * To find space between the secondary element and svg element.
8913
+ * @private
8913
8914
  */
8914
8915
  Maps.prototype.getExtraPosition = function () {
8915
8916
  var top;
@@ -14285,8 +14286,9 @@ var Zoom = /** @__PURE__ @class */ (function () {
14285
14286
  x = (size.width - toolBarSize.width) - padding;
14286
14287
  break;
14287
14288
  }
14288
- element.style.left = x + 'px';
14289
- element.style.top = y + 'px';
14289
+ var extraPosition = map.getExtraPosition();
14290
+ element.style.left = x + extraPosition.x + 'px';
14291
+ element.style.top = y + extraPosition.y + 'px';
14290
14292
  var color = this.maps.zoomSettings.highlightColor || this.maps.themeStyle.zoomSelectionColor;
14291
14293
  var css = ' .e-maps-toolbar:hover > circle { stroke:' + color + '; } .e-maps-toolbar:hover > path { fill: ' + color + ' ; stroke: ' + color + '; }' +
14292
14294
  '.e-maps-toolbar:hover { cursor: pointer; } .e-maps-cursor-disable:hover { cursor: not-allowed; } .e-maps-panning:hover { cursor: pointer; } ' +