@opengeoweb/webmap 4.5.0 → 4.6.1

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/index.esm.js CHANGED
@@ -3699,6 +3699,13 @@ var MapPin = /*#__PURE__*/function () {
3699
3699
  _this.redrawMap();
3700
3700
  };
3701
3701
 
3702
+ this.getXY = function () {
3703
+ return {
3704
+ x: _this.x,
3705
+ y: _this.y
3706
+ };
3707
+ };
3708
+
3702
3709
  this._map = _map;
3703
3710
  }
3704
3711
 
package/index.umd.js CHANGED
@@ -3744,6 +3744,13 @@
3744
3744
  _this.redrawMap();
3745
3745
  };
3746
3746
 
3747
+ this.getXY = function () {
3748
+ return {
3749
+ x: _this.x,
3750
+ y: _this.y
3751
+ };
3752
+ };
3753
+
3747
3754
  this._map = _map;
3748
3755
  }
3749
3756
 
@@ -23,5 +23,9 @@ declare class MapPin {
23
23
  setMapPinEnabled: () => void;
24
24
  showMapPin: () => void;
25
25
  hideMapPin: () => void;
26
+ getXY: () => {
27
+ x: number;
28
+ y: number;
29
+ };
26
30
  }
27
31
  export default MapPin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/webmap",
3
- "version": "4.5.0",
3
+ "version": "4.6.1",
4
4
  "description": "GeoWeb webmap library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {