Fix measuring tool bug and correct Nordex BLF position
Deploy Bürgerwind / deploy (push) Successful in 17s
Details
Deploy Bürgerwind / deploy (push) Successful in 17s
Details
This commit is contained in:
parent
62e6dddfdb
commit
19e43d3ad1
11
app.js
11
app.js
|
|
@ -110,6 +110,12 @@ document.addEventListener('DOMContentLoaded', async () => {
|
||||||
|
|
||||||
let placementMode = false;
|
let placementMode = false;
|
||||||
let measureMode = null; // 'dist' or 'area'
|
let measureMode = null; // 'dist' or 'area'
|
||||||
|
let measurePoints = [];
|
||||||
|
let measureLayer = null;
|
||||||
|
let mouseMarker = L.marker([0, 0], {
|
||||||
|
icon: L.divIcon({ className: 'measure-mouse-marker', iconSize: [0, 0] }),
|
||||||
|
interactive: false
|
||||||
|
}).addTo(state.map);
|
||||||
let activeTurbine = null;
|
let activeTurbine = null;
|
||||||
|
|
||||||
// Proj4 Definition for UTM32 (EPSG:25832)
|
// Proj4 Definition for UTM32 (EPSG:25832)
|
||||||
|
|
@ -200,8 +206,9 @@ document.addEventListener('DOMContentLoaded', async () => {
|
||||||
const nvm = [[24.4, -5.5], [34.9, -5.5], [34.9, -31.5], [24.4, -31.5], [24.4, -5.5]];
|
const nvm = [[24.4, -5.5], [34.9, -5.5], [34.9, -31.5], [24.4, -31.5], [24.4, -5.5]];
|
||||||
mfParts = [amf, nvm];
|
mfParts = [amf, nvm];
|
||||||
|
|
||||||
// BLF (Blattlagerfläche): 90,00m (L) x 15,00m (B). Next to AMF on the wider side.
|
// BLF (Blattlagerfläche): 90,00m (L) x 15,00m (B).
|
||||||
blfCoords = [[7.5, -65.15], [22.5, -65.15], [22.5, -155.15], [7.5, -155.15], [7.5, -65.15]];
|
// In the drawing, it starts next to the tower and KSF.
|
||||||
|
blfCoords = [[7.5, -5.5], [22.5, -5.5], [22.5, -95.5], [7.5, -95.5], [7.5, -5.5]];
|
||||||
} else {
|
} else {
|
||||||
// Enercon / Vestas / GE (Standard)
|
// Enercon / Vestas / GE (Standard)
|
||||||
blfCoords = [[-41, 9], [-61, 9], [-61, -81], [-41, -81], [-41, 9]];
|
blfCoords = [[-41, 9], [-61, 9], [-61, -81], [-41, -81], [-41, 9]];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue