Test Lidar Daten laden (langsam)

This commit is contained in:
2026-04-29 10:41:11 +02:00
parent b67ee1e979
commit 3d05e54943
2 changed files with 14 additions and 4 deletions

15
main.js
View File

@@ -13,10 +13,18 @@ const map = new maplibregl.Map({
zoom: 17
});
/*
const layer = new PointCloudLayer({
data: '/3dm_32_285_5653_1_nw.copc_WGS84.laz',
data: '/punktwolke subsample test.laz',
loaders: [LASLoader],
// 1. Set the coordinate system to meter offsets
coordinateSystem: COORDINATE_SYSTEM.METER_OFFSETS,
// 2. Set the anchor point [longitude, latitude, elevation]
coordinateOrigin: [9.209116842757239, 52.26520546238239],
pointSize: 1,
getColor: [255,255,255]
});
@@ -25,7 +33,7 @@ const overlay = new MapboxOverlay({
});
map.addControl(overlay);
*/
// Hintergrundkarte ändern
@@ -164,4 +172,3 @@ document.getElementById("resetBtn").addEventListener("click", () => {
map.resetNorth();
});
//Test