Open enjalot opened 8 years ago
Start here
Data-driven styling is not as powerful as Leaflet yet. Try adding some interaction to zoom to the feature that was clicked.
API reference Style reference Mapbox-gl examples
An example using fitBounds to zoom in on a feature when it is clicked.
Start here![](https://gist.github.com/enjalot/21c55ff101229ee46f122eb9bd1e4b77/raw/2c3db5637a85751ab6568cc78f4b34cd6f3e26f2/thumbnail.png)
Data-driven styling is not as powerful as Leaflet yet. Try adding some interaction to zoom to the feature that was clicked.
API reference Style reference Mapbox-gl examples