Test Lidar Daten laden (langsam)
This commit is contained in:
@@ -24,6 +24,9 @@
|
||||
<option value="terrain">Terrain</option>
|
||||
<option value="satellite_terrain">Terrain mit Satellitenbild</option>
|
||||
</select>
|
||||
<p>
|
||||
<input type="checkbox">Punktwolke ausblenden
|
||||
</p>
|
||||
<div class="logos">
|
||||
<a href="http://www.jade-hs.de">
|
||||
<img id="logoJadeHs" src="logoJadeHs.png" />
|
||||
|
||||
15
main.js
15
main.js
@@ -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
|
||||
Reference in New Issue
Block a user