Skip to content

3D check pages

Pages to look at the 3D services of one Loka Server together: terrain, a draped map picture, buildings from vector tiles and a hosted 3D Tiles tileset, in MapLibre, CesiumJS, deck.gl and loka.gl.

python make-index.py <out-dir> <server> <elevation-id> <buildings-layer-id> <buildings-source-layer> <tileset-id>
cd <out-dir> && python -m http.server 8099 --bind 127.0.0.1

Then open http://127.0.0.1:8099/. The pages send no credentials: on the server add http://127.0.0.1:8099 under Security → Allowed origins and switch on “Map services without token” for the check, and switch both off again afterwards. Use a trial server, not an installation with real data.

Page Engine Reads
maplibre-3d.html MapLibre GL JS 4.7.1 Terrain-RGB (TileJSON), XYZ picture, vector tiles as fill-extrusion
cesium-3d.html CesiumJS 1.121.1 Quantized-mesh terrain, XYZ picture, 3D Tiles (with lift=1 raised to the terrain)
lokagl-3d.html loka.gl (the build vendored in the console, copied to ./loka-gl/) Terrain-RGB via terrain.json, XYZ picture, vector tiles as fill-extrusion, 3D Tiles

MapLibre, deck.gl and CesiumJS are loaded from unpkg. loka.gl needs a WebGPU browser.