@openglobus/og 0.24.1 → 0.24.2
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/lib/@openglobus/og.esm.js +1 -1
- package/lib/@openglobus/og.esm.js.map +1 -1
- package/lib/@openglobus/og.umd.js +1 -1
- package/lib/@openglobus/og.umd.js.map +1 -1
- package/lib/js/control/drawing/PolygonDrawingScene.js +0 -1
- package/lib/js/control/elevationProfile/ElevationProfileControl.js +0 -2
- package/package.json +1 -1
|
@@ -207,7 +207,6 @@ class PolygonDrawingScene extends RenderNode {
|
|
|
207
207
|
this._planet.addLayer(this._centerLayer);
|
|
208
208
|
this.showGhostPointer();
|
|
209
209
|
this.startNewPoint();
|
|
210
|
-
this._planet.renderer.controls.mouseNavigation.deactivateDoubleClickZoom();
|
|
211
210
|
this._geometryLayer.addTo(this._planet);
|
|
212
211
|
this.events.on("change", this._onChange, this);
|
|
213
212
|
}
|
|
@@ -139,14 +139,12 @@ export class ElevationProfileControl extends Control {
|
|
|
139
139
|
this._elevationProfileScene.events.on("change", this._onSceneChange);
|
|
140
140
|
}
|
|
141
141
|
onactivate() {
|
|
142
|
-
this.renderer.controls.mouseNavigation.deactivateDoubleClickZoom();
|
|
143
142
|
this.planet && this._elevationProfileScene.bindPlanet(this.planet);
|
|
144
143
|
this.renderer && this.renderer.addNode(this._elevationProfileScene);
|
|
145
144
|
}
|
|
146
145
|
ondeactivate() {
|
|
147
146
|
this._poiListDialog.setVisibility(false);
|
|
148
147
|
this._elevationProfileView.model.clear();
|
|
149
|
-
this.renderer.controls.mouseNavigation.activateDoubleClickZoom();
|
|
150
148
|
this.renderer && this.renderer.removeNode(this._elevationProfileScene);
|
|
151
149
|
this._dialog.hide();
|
|
152
150
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openglobus/og",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.2",
|
|
4
4
|
"description": "[openglobus](https://www.openglobus.org/) is a javascript/typescript library designed to display interactive 3d maps and planets with map tiles, imagery and vector data, markers, and 3D objects. It uses the WebGL technology, open source, and completely free.",
|
|
5
5
|
"directories": {
|
|
6
6
|
"example": "./sandbox"
|