@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 19.4.42
3
+ * version : 19.4.47
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-maps@*",
3
- "_id": "@syncfusion/ej2-maps@19.4.38",
3
+ "_id": "@syncfusion/ej2-maps@19.4.42",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-xf9oJZL2/pVspVWQuwHj5TV/3bOONNCrZSWd3Ch8Ytc0STAtZyk14/h7cSjLe6dpL4Zp2JSmHIIxPhS1/q67Wg==",
5
+ "_integrity": "sha512-6IogYAgkvC+yY7H06Uxil3SdTZuWzu2boQhnZA/djQSae2/fAdgMqnJqOMUYLodljc+O6wddpuilkmx2zAkLWg==",
6
6
  "_location": "/@syncfusion/ej2-maps",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-maps",
24
24
  "/@syncfusion/ej2-vue-maps"
25
25
  ],
26
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-19.4.38.tgz",
27
- "_shasum": "fc11eb553b86eba1ab721c27f20887f715121469",
26
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-19.4.42.tgz",
27
+ "_shasum": "9aaa735f0d4d3574c0da6101157be9c1a6208652",
28
28
  "_spec": "@syncfusion/ej2-maps@*",
29
29
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
30
30
  "author": {
@@ -38,9 +38,9 @@
38
38
  "@syncfusion/ej2-base": "~19.4.42",
39
39
  "@syncfusion/ej2-buttons": "~19.4.42",
40
40
  "@syncfusion/ej2-compression": "~19.4.38",
41
- "@syncfusion/ej2-data": "~19.4.42",
41
+ "@syncfusion/ej2-data": "~19.4.47",
42
42
  "@syncfusion/ej2-file-utils": "~19.4.38",
43
- "@syncfusion/ej2-pdf-export": "~19.4.42",
43
+ "@syncfusion/ej2-pdf-export": "~19.4.43",
44
44
  "@syncfusion/ej2-svg-base": "~19.4.42"
45
45
  },
46
46
  "deprecated": false,
@@ -80,6 +80,6 @@
80
80
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
81
81
  },
82
82
  "typings": "index.d.ts",
83
- "version": "19.4.42",
83
+ "version": "19.4.47",
84
84
  "sideEffects": false
85
85
  }
@@ -988,8 +988,9 @@ export declare class Maps extends Component<HTMLElement> implements INotifyPrope
988
988
  private isNavigationVisible;
989
989
  /**
990
990
  * To find space between the secondary element and svg element.
991
+ * @private
991
992
  */
992
- private getExtraPosition;
993
+ getExtraPosition(): Point;
993
994
  /**
994
995
  * To find marker visibility
995
996
  */
package/src/maps/maps.js CHANGED
@@ -1852,6 +1852,7 @@ var Maps = /** @class */ (function (_super) {
1852
1852
  };
1853
1853
  /**
1854
1854
  * To find space between the secondary element and svg element.
1855
+ * @private
1855
1856
  */
1856
1857
  Maps.prototype.getExtraPosition = function () {
1857
1858
  var top;
@@ -1285,8 +1285,9 @@ var Zoom = /** @class */ (function () {
1285
1285
  x = (size.width - toolBarSize.width) - padding;
1286
1286
  break;
1287
1287
  }
1288
- element.style.left = x + 'px';
1289
- element.style.top = y + 'px';
1288
+ var extraPosition = map.getExtraPosition();
1289
+ element.style.left = x + extraPosition.x + 'px';
1290
+ element.style.top = y + extraPosition.y + 'px';
1290
1291
  var color = this.maps.zoomSettings.highlightColor || this.maps.themeStyle.zoomSelectionColor;
1291
1292
  var css = ' .e-maps-toolbar:hover > circle { stroke:' + color + '; } .e-maps-toolbar:hover > path { fill: ' + color + ' ; stroke: ' + color + '; }' +
1292
1293
  '.e-maps-toolbar:hover { cursor: pointer; } .e-maps-cursor-disable:hover { cursor: not-allowed; } .e-maps-panning:hover { cursor: pointer; } ' +