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

installs with the error "TypeError: Cannot read property 'viewBox' of undefined" #38

Closed Tornike-Kiknadze closed 4 years ago

Tornike-Kiknadze commented 4 years ago

The App does not install correctly, it gives errors

VictorCazanave commented 4 years ago

Hello @Tornike-Kiknadze ! Which map do you use? Could you show your (simplified) code please?

Tornike-Kiknadze commented 4 years ago

I figured out I had not installed the maps apparently they need to be installed separately...

VictorCazanave commented 4 years ago

Yes, since v2.0.0 the maps are in independent packages to avoid to download all the maps and make them re-usable in other projects.