gis-map-universal 0.2.8 → 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 +11 -11
- package/package.json +1 -1
- package/demo.html +0 -8
- package/gismap.common.js +0 -471476
- package/gismap.umd.min.js +0 -186
package/gismap.umd.js
CHANGED
|
@@ -457327,19 +457327,19 @@ var LatlonPick_component = normalizeComponent(
|
|
|
457327
457327
|
element: elPopup,
|
|
457328
457328
|
positioning: "bottom-center",
|
|
457329
457329
|
stopEvent: true,
|
|
457330
|
-
autoPan:
|
|
457331
|
-
autoPanAnimation: {
|
|
457332
|
-
|
|
457333
|
-
},
|
|
457330
|
+
autoPan: false,
|
|
457331
|
+
// autoPanAnimation: {
|
|
457332
|
+
// duration: 250,
|
|
457333
|
+
// },
|
|
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) &&
|
package/package.json
CHANGED