drone_view 2.3.8 → 3.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drone_view",
3
- "version": "2.3.8",
3
+ "version": "3.0.0",
4
4
  "main": "dist/droneView.js",
5
5
  "license": "MIT",
6
6
  "scripts": {
package/public/index.html CHANGED
@@ -146,7 +146,7 @@
146
146
  [6.1628706023275495, 48.6080989685312, 2.813801646136673],
147
147
  [6.162842533195286, 48.608087438688024, 3.882614197318671]
148
148
  ],
149
- properties: { id: "as1", color: "#00ff00", label: "testing2", clamp: false },
149
+ properties: { id: "as1", color: "#00ff00", label: "testing1", clamp: false },
150
150
  },
151
151
  {
152
152
  points: [
@@ -156,7 +156,7 @@
156
156
  [6.163004594883557, 48.60819004647759, 6.73241478412424],
157
157
  [6.1629555793978605, 48.60819920247807, 6.799143351030009]
158
158
  ],
159
- properties: { id: "as1", color: "#00ff00", label: "testing2", clamp: false },
159
+ properties: { id: "as1", color: "#00ff00", label: "testing3", clamp: false },
160
160
  },
161
161
  ];
162
162
 
@@ -396,7 +396,8 @@
396
396
  });
397
397
 
398
398
  document.getElementById("getCenter").addEventListener("click", () => {
399
- projectCenter = viewer.getCenter();
399
+ // projectCenter = viewer.getCenter();
400
+ viewer.removeLayer("editPolygon", "polygon-edit-layer")
400
401
  });
401
402
 
402
403
  document.getElementById("setCenter").addEventListener("click", () => {
@@ -477,11 +478,11 @@
477
478
  });
478
479
 
479
480
  // Load Height Graph
480
- viewer.addLayer("line", "line-layer", line, {
481
- onClick: function (e) {
482
- console.log(e);
483
- },
484
- });
481
+ // viewer.addLayer("line", "line-layer", line, {
482
+ // onClick: function (e) {
483
+ // console.log(e);
484
+ // },
485
+ // });
485
486
 
486
487
  // Load Tag
487
488
  viewer.addLayer("marker3d", "marker-layer", points, {