Update the language of your OpenMapTiles vector tiles for Mapbox GL JS.
Getting started
$ npm install mapbox-omt-lang
Usage
This library exposes a MapboxOmtLang
class that is used as a Mapbox GL JS map control.
const map = /* options */const mapLang = 'fr' map
See also
- mapbox-gl-language: Switch language of your Mapbox GL JS style
- openmaptiles-language: Javascript library for changing language of OpenMapTiles map in mapbox-gl-js
Why another library
- mapbox-gl-language doesn’t work with openmaptiles styles.
- openmaptiles-language modifies mapboxgl.Map’s prototype and isn’t published as an NPM package.
License
MIT
Miscellaneous
╚⊙ ⊙╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝