zcreativelabs / react-simple-maps

Beautiful React SVG maps with d3-geo and topojson using a declarative api.
https://www.react-simple-maps.io/
MIT License
3.12k stars 426 forks source link

How to achieve ZoomableGlobe under current version? #230

Closed zezhehh closed 3 months ago

zezhehh commented 4 years ago

I notice that there is a API called ZoomableGlobe which supports zoom and rotate in the map. But it disappears in the master branch. Is there an easy way to implement it?

victormpa commented 3 years ago

Took a while to find, but it was commited here https://github.com/zcreativelabs/react-simple-maps/commit/51178d041dbb1e7e77b0d6e1d8b8d2c25d7f570f#diff-4486c9691fe14ecc7db27addcb8692dad0d6e618a036c1027bbac182ba488166