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.
- package/gismap.umd.js +6 -6
- 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
|
-
|
|
457340
|
-
|
|
457341
|
-
|
|
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) &&
|