Update the language of your OpenMapTiles vector tiles for Mapbox GL JS.
$ npm install mapbox-omt-lang
This library exposes a MapboxOmtLang
class that is used as a Mapbox GL JS map control.
const map = new mapboxgl.Map({/* options */})
const mapLang = new MapboxOmtLang('fr')
map.addControl(mapLang)
- 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
- mapbox-gl-language doesn’t work with openmaptiles styles.
- openmaptiles-language modifies mapboxgl.Map’s prototype and isn’t published as an NPM package.
MIT
╚⊙ ⊙╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝