gis-map-universal 0.2.8 → 0.2.9

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/gismap.umd.js CHANGED
@@ -457327,16 +457327,16 @@ var LatlonPick_component = normalizeComponent(
457327
457327
  element: elPopup,
457328
457328
  positioning: "bottom-center",
457329
457329
  stopEvent: true,
457330
- autoPan: true,
457331
- autoPanAnimation: {
457332
- duration: 250,
457333
- },
457330
+ autoPan: false,
457331
+ // autoPanAnimation: {
457332
+ // duration: 250,
457333
+ // },
457334
457334
  });
457335
- // this.map.addOverlay(this.overlayPopup);
457335
+ this.map.addOverlay(this.overlayPopup);
457336
457336
  this.map.on("click", (e) => {
457337
457337
  e.preventDefault();
457338
457338
  this.map.getView().animate({
457339
- center: this.map.getView().getCenter(),
457339
+ center: this.mapCenter,
457340
457340
  zoom: this.map.getView().getZoom(),
457341
457341
  duration: 10
457342
457342
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gis-map-universal",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "GIS通用组件",
5
5
  "main": "gismap.umd.js",
6
6
  "private": false,
package/demo.html DELETED
@@ -1,8 +0,0 @@
1
- <meta charset="utf-8">
2
- <title>gismap demo</title>
3
- <script src="./gismap.umd.js"></script>
4
-
5
-
6
- <script>
7
- console.log(gismap)
8
- </script>