VictorCazanave / react-svg-map

A set of React.js components to display an interactive SVG map
https://victorcazanave.github.io/react-svg-map/
MIT License
229 stars 48 forks source link

how add terrain type #52

Closed raulcesar54 closed 3 years ago

raulcesar54 commented 3 years ago

how i add terrain type, example: image

the horizontal and vertical line, identify the terrain type

VictorCazanave commented 3 years ago

This component supports SVG files that contain only <path> tags. You can look at svg-maps to see examples of working maps.

raulcesar54 commented 3 years ago

I resolve this with fill, childrenBefore i pass on class i pass fill='#xxx',