gis-map-universal 0.2.9 → 0.3.0

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.
Files changed (2) hide show
  1. package/gismap.umd.js +6 -6
  2. package/package.json +1 -1
package/gismap.umd.js CHANGED
@@ -457334,12 +457334,12 @@ var LatlonPick_component = normalizeComponent(
457334
457334
  });
457335
457335
  this.map.addOverlay(this.overlayPopup);
457336
457336
  this.map.on("click", (e) => {
457337
- e.preventDefault();
457338
- this.map.getView().animate({
457339
- center: this.mapCenter,
457340
- zoom: this.map.getView().getZoom(),
457341
- duration: 10
457342
- });
457337
+ // e.preventDefault();
457338
+ // this.map.getView().animate({
457339
+ // center: this.mapCenter,
457340
+ // zoom: this.map.getView().getZoom(),
457341
+ // duration: 10
457342
+ // });
457343
457343
  console.log('点击事件',this.map.getView().getCenter(),this.map.getView().getZoom());
457344
457344
  if (
457345
457345
  !this.map.getInteractions().getArray().includes(this.measuredraw) &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gis-map-universal",
3
- "version": "0.2.9",
3
+ "version": "0.3.0",
4
4
  "description": "GIS通用组件",
5
5
  "main": "gismap.umd.js",
6
6
  "private": false,