style-switcher icon indicating copy to clipboard operation
style-switcher copied to clipboard

Mapbox GL JS Style Switcher

Results 7 style-switcher issues
Sort by recently updated
recently updated
newest added

The app I am working on includes manual updates to the base map style that happen outside of the style switcher. It would be nice if the style switcher took...

Hi, I've recently implemented a very similar component myself, before discovering this one! The main difference being that I needed to maintain sources/layers/feature state in-between style switches. This is semi-baked...

Getting next in terminal: ``` WARNING in ./node_modules/mapbox-gl-style-switcher/dist/index.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from 'D:\Source\XXX\node_modules\mapbox-gl-style-switcher\lib\index.ts' file: Error: ENOENT: no such file or directory, open 'D:\Source\XXX\node_modules\mapbox-gl-style-switcher\lib\index.ts ```...

Hi, thanks a lot for this style switcher I'm happy to use on https://nicolas-hoizey.photo/map/ I now would like to add a projection switcher, and it looks like it could use...

I would like to add it to an existing front-end project built on top of node/gulp/sass but the `dist/index.js` throws this exception: `Uncaught ReferenceError: exports is not defined`.