Open irSteve opened 2 years ago
It would be great to initiate a flyTo and/or zoom based on some event (e.g. - click, select, etc.). It is not clear from the documentation how to do that.
Here's a MapBox example: https://docs.mapbox.com/mapbox-gl-js/example/flyto/ Here is a Leaflet example: https://codesandbox.io/s/react-leaflet-demo-o7ix8
How would I approach this with react-simple-maps? TY
It would be great to initiate a flyTo and/or zoom based on some event (e.g. - click, select, etc.). It is not clear from the documentation how to do that.
Here's a MapBox example: https://docs.mapbox.com/mapbox-gl-js/example/flyto/ Here is a Leaflet example: https://codesandbox.io/s/react-leaflet-demo-o7ix8
How would I approach this with react-simple-maps? TY