Buildings in simulation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
aa5c6ee1f0
commit
b9faf91831
@ -140,6 +140,19 @@
|
|||||||
selectionIndicator: false,
|
selectionIndicator: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
let osmBuildingsTileset = null;
|
||||||
|
|
||||||
|
async function loadOsmBuildings() {
|
||||||
|
try {
|
||||||
|
osmBuildingsTileset = await Cesium.createOsmBuildingsAsync();
|
||||||
|
viewer.scene.primitives.add(osmBuildingsTileset);
|
||||||
|
} catch (err) {
|
||||||
|
console.warn("OSM Buildings failed to load", err);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
loadOsmBuildings();
|
||||||
|
|
||||||
const basemapSelect = document.getElementById("basemap");
|
const basemapSelect = document.getElementById("basemap");
|
||||||
const basemapLayers = {};
|
const basemapLayers = {};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user