erdblick is a deck.gl-based map UI that connects to mapget servers, renders NDS.Live and GeoJSON tiles, and exposes live style editing plus advanced inspection tools. MapViewer ships with erdblick pre-integrated, but the UI also runs as a standalone bundle.
- Erdblick User Guide – setup, UI basics, search, inspection, split view, troubleshooting, and more.
- Erdblick Development Guide – architecture overview, build instructions, tile/rendering pipelines, and debugging tips.
- Test Layout and Commands – Angular, native and browser suites, fixtures and MapViewer integration.
Those documents now host the detailed instructions that previously lived in this README. Use them as a sitemap when contributing.
| Mode | Description |
|---|---|
| Full | Default build that includes maps/layers panel, style editor, search, inspector, and diagnostics. |
| Visualization-only | Lightweight bundle for kiosks or embeds. Only the canvas renders; configuration is provided via URL parameters or /static-config/config.json. |
./ci/20_linux_rebuild.bash builds both modes: serve static/browser/ for the
full UI or static-visualization-only/browser/ for visualization only.
Integrations such as the MapViewer container use the ERDBLICK_VARIANT
environment variable to pick the variant they embed. The
Setup Guide documents both workflows.
Prepare the source-build prerequisites and a backend compatible with the checked-out mapget APIs, then run from the erdblick root:
./ci/20_linux_rebuild.bash
mapget serve -w static/browserOpen the printed localhost URL, then configure your mapget backend (via its YAML config or management API) so /sources advertises the maps you need. Products such as MapViewer already ship with a prebuilt erdblick bundle under /app/erdblick, so those users can skip the build step entirely.
Browser-based integration tests are implemented with Playwright and assume that the Emscripten build
has completed successfully (so the WASM core and static/browser bundle are available).
For the Python datasource fixture, prepare a repository-local venv/ with a
mapget package compatible with the checkout's tile protocol. The integration
wrapper uses that environment. For a matching native backend instead, see the
developer guide.
To run the Python fixture locally:
./ci/20_linux_rebuild.bash # incrementally build core + both UI variants
npx playwright install --with-deps # install Playwright browsers (once)
./ci/run-integration-with-venv-mapget.sh # runs tests in tests/playwright/tests using mapget serveThe Playwright harness will start mapget --config tests/playwright/fixtures/mapget-integration.yaml serve --allow-post-config --port 9000 --cache-type none --webapp /:static/browser automatically;
ensure a mapget binary is available on your PATH (or set MAPGET_BIN to override the executable path).
The default integration setup uses tests/playwright/fixtures/datasource.py
via a DataSourceProcess entry in
tests/playwright/fixtures/mapget-integration.yaml. If this Python datasource cannot be started (for example, the
mapget Python package is missing), /sources may be empty and datasource-dependent tests will be
reported as skipped while generic backend and debug-tile tests still run.
Coverage output is written to coverage/playwright/. For human inspection, open:
coverage/playwright/index.htmlfor the emitted-script V8 summary plus per-script tables.coverage/playwright/source/index.htmlfor the source-mapped Istanbul HTML report.
After the wrapper build, collecting the source-mapped coverage report requires an additional frontend build with hidden source maps:
npm run build:integration-coverage
MAPGET_BIN=$PWD/venv/bin/mapget npm run test:integrationThe *.ndjson files in coverage/playwright/ are raw intermediate artifacts used to build the JSON and HTML summaries.
- Styles live in
config/styles/*.yaml; a local MapViewer build can save editor changes directly back to those source files. - The rules reference Simfil expressions (
color-expression,filter, etc.) and can target features, relations, or attribute geometries. - Import/export buttons store styles in browser
localStoragefor quick experimentation.
Read the Style System Guide for the complete YAML reference and GUI walkthrough.