This package has been deprecated

Author message:

This package has been migrated to @protomaps/basemaps with a new major version. See the CHANGELOG at https://github.com/protomaps/basemaps/blob/main/CHANGELOG.md for how to migrate.

protomaps-themes-base
TypeScript icon, indicating that this package has built-in type declarations

4.5.0 • Public • Published

TypeScript docs

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
      ...
    ...

Readme

Keywords

none

Package Sidebar

Install

npm i protomaps-themes-base

Weekly Downloads

6,090

Version

4.5.0

License

BSD-3-Clause

Unpacked Size

48.1 MB

Total Files

221

Last publish

Collaborators

  • bdon