react-simple-maps icon indicating copy to clipboard operation
react-simple-maps copied to clipboard

How to flyTo and zoom

Open irSteve opened this issue 3 years ago • 0 comments

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

irSteve avatar Nov 14 '22 17:11 irSteve