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

null check projected coordinates for `Marker`s

Open wenright opened this issue 1 year ago • 0 comments

This change hides markers that exist outside of the projection. Since the projection function can return null, attempting to destructure the result could throw an error.

This should resolve issues #282, #224, and #79

wenright avatar Aug 08 '24 15:08 wenright