Richard Zimerman

Results 31 comments of Richard Zimerman

Hi @abax1, Yeah, we didn't get around to add a proper example of how to use react-annotation with react-simple-maps yet. The best way to go about this is to put...

I will keep this issue open for now, and post a link to the example when it's ready. Glad you like the library :)

Hmm, I think the `div` in MyAnnotation will not work well within an svg. You could replace it with a `React.Fragment` or a `g`. It should also not be necessary...

Hi @punithbm, You can use most projections supported by [d3-geo-projection](https://github.com/d3/d3-geo-projection) with react-simple-maps. This sandbox showcases how to use a custom projection with react-simple-maps: https://codesandbox.io/s/world-map-sphere-masking-73160?from-embed=&file=/src/MapChart.js If you want a "flat" projection...

Hi @mikesol Thank you for giving `react-simple-maps` a try and I am glad you like it. The globe thing is actually an interesting issue. The main problem with `react-simple-maps` and...

Ok, so I just ran a test for kicks whether it would be possible to rotate a globe inside `react-simple-maps`, and the autorotation actually works. What does not work is...

Hi @oktalk, Panning should work on touch screens, but you have to currently use two fingers to drag it. There were issues where the panning interfered with scroll, so we...

Ok, yeah, it would probably be good for the map to do this out of the box. Will have a look at putting this in. Thanks for flagging.

Hi @Aljal, Thanks for using react-simple-maps! Yes, I am assuming here that an older version of d3-selection/d3-zoom is causing the problem. Are you using another data visualization library in parallel...

There should be a prop on `` called `onGeographyPathsLoaded `. That should do the trick for you. ```jsx { /* do something */ }}> {...} ```