UNPKG

protomaps-themes-base

Version:

Protomaps basemap themes for MapLibre GL JS

36 lines (27 loc) 580 B
[TypeScript docs](https://maps.protomaps.com/typedoc/) ## Usage Prepare your environment with: ``` nvm use npm ci ``` ## Generate JSON styles in all themes and languages To generate style.json files in all themes and supported languages, run: ``` npm run generate-styles https://example.com/your-tilejson-url.json ``` Note that you have to replace the TileJSON URL with your own. This will create files in the `dist/styles/` folder like this: ``` dist/ styles/ light/ ar.json bg.json ... dark/ ar.json bg.json ... ... ```