drone_view 3.0.11 → 3.0.12
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/dist/droneView.js +1 -1
- package/package.json +1 -1
- package/public/index.html +8 -1
package/package.json
CHANGED
package/public/index.html
CHANGED
@@ -66,6 +66,9 @@
|
|
66
66
|
<div id="layers" class="drawContainer layers">
|
67
67
|
Load Drawings
|
68
68
|
</div>
|
69
|
+
<a class="btn btn-light btn-sm" href="javascript://" id="deficiency" data-toggle = "tooltip" title = "Create Deficiency">
|
70
|
+
<span class="fa-solid fa-triangle-exclamation" style="color: #FFD43B;"></span>
|
71
|
+
</a>
|
69
72
|
<div id="cross" class="drawContainer lineString">Height Graph</div>
|
70
73
|
<div id="position" class="drawContainer lineString">Position Change</div>
|
71
74
|
<div id="visibility" class="drawContainer lineString">Visibility</div>
|
@@ -317,6 +320,11 @@
|
|
317
320
|
// });
|
318
321
|
}, 1000);
|
319
322
|
|
323
|
+
document.getElementById("deficiency").addEventListener("click", () => {
|
324
|
+
drawingType = "Deficiency";
|
325
|
+
viewer.enableDrawing({ type: "Point" });
|
326
|
+
})
|
327
|
+
|
320
328
|
document.getElementById("startCompare").addEventListener("click", () => {
|
321
329
|
viewer.startCompare().then(() => {
|
322
330
|
viewer.addLayer("model", "model-layer", model, {}, "compare");
|
@@ -418,7 +426,6 @@ document.getElementById("toggleglobe").addEventListener("click",()=>{
|
|
418
426
|
})
|
419
427
|
document.getElementById("pointer").addEventListener("click", () => {
|
420
428
|
viewer.disableDrawing();
|
421
|
-
viewer.removePoints();
|
422
429
|
if (id1) {
|
423
430
|
console.log(id1);
|
424
431
|
const res = viewer.getLayerData("editPolygon", "polygon-edit-layer");
|