Use Node 22+ for the repository and Cesium integration.
git clone https://github.com/mploscos/map-zero.git
cd map-zero
npm ci
npm run check
npm testRun the local CLI with node src/cli.js. For example:
node src/cli.js bbox-ui --output-root ./generated
node src/cli.js serve ./generated/madrid.mapzero --port 8080Browser checks require Chromium and a generated demo package. Set CHROMIUM_PATH when needed:
node src/cli.js 3dtiles generated/madrid.mapzero
npm run test:browser -- generated/madrid.mapzero
npm run test:browser:static -- generated/madrid.mapzeroSee recording instructions to reproduce the README GIFs, architecture for the module layout, and performance for measured behavior and remaining work.
The npm packages are map-zero, @map-zero/core, @map-zero/ol, and @map-zero/cesium. Publish the shared core before the integration packages, which depend on the matching core version. The root CLI includes its own browser integration sources.
Run npm test, npm run check, npm run test:browser and
npm run test:browser:static. Browser checks use a normally exported Madrid
package (generated/bbox.mapzero by default); an alternate package path may be
passed to either script. Current GIF recording instructions are in
media/README.md. See format notes for
runtime compatibility checks required when upgrading Cesium.