react-svg-map icon indicating copy to clipboard operation
react-svg-map copied to clipboard

A set of React.js components to display an interactive SVG map

Results 11 react-svg-map issues
Sort by recently updated
recently updated
newest added

Hi, thanks for the useful tool! I'm wondering if there's an handy way to control the opacity of a map region (so an SVG path). I'm building an heatmap with...

enhancement

I'm trying to add initial value to map, but the type is missing in type script, and also react shows Invariant Violation error. error: ``` Unhandled Runtime Error Invariant Violation:...

I am a bit confused to change the color. And then I try to find the CSS file that control the color. And here it is. ```css .svg-map { width:...

enhancement

I have the condition on the basis I want to select the state and show that state is selected how I can do that? function handleclick(id, stateName) { console.log("im clilck");...

question

It appears RadioSVGMap is broken in React 17 I've made a Code Sandbox showing the error: https://codesandbox.io/s/reverent-goodall-5ox98?file=/src/App.js **Error:** Minified React error #188; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=188 for the full message or use...

bug

Having the component rerender when `selectedLocationIds` get updated is crucial to my use case as the selected states are stored on the backend.

enhancement
v3

Is there any way to add markers to the map?

question

May I have your direction on that? Also, Is it possible to implement zoom and pan function as well? Many thanks!!

question

Hi, Is there any feasible way to convert .geojson formatted files to compatible svg map? I used the cli tool but no success

enhancement