Comments (2)
Hi! I've install the style-switcher with yarn.
yarn add i mapbox-gl-style-switcher --save
from style-switcher.
@EliotHertenstein Can you give me an example? I think you are talking about the official plugins created by Mapbox.
You can try https://unpkg.com/mapbox-gl-style-switcher
from style-switcher.
Related Issues (20)
- Can't use spaces in layer titles
- Allow to choose default style HOT 1
- Unable to use mapbox-gl-controls with node/gulp. HOT 6
- Events HOT 4
- Add MapLibre support HOT 4
- change icon style-switcher HOT 1
- Projection switching HOT 1
- Hide list when clicken selected style option HOT 3
- Current Map Layers sources (polygons) disappears when an map style is selected HOT 5
- Support locally-defined styles
- closeModal immediately executed in shadow DOM context
- Question.. Switch styles and maintain state? HOT 13
- Creating a projection switcher without duplicating all this code
- Source map problem with npm 8.12.0 HOT 2
- If the defaultStyle is one of the available styles options, it should get the active status. HOT 3
- Provide a way to update active style (so the correct style is bold in the option menu) HOT 3
- No code for onRemove method HOT 1
- support layer toggle method of switching styles HOT 2
- Preserve existing layers when switching, or add beforeChange and onChange callback options HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from style-switcher.