Skip to content

Repository files navigation

world-map-svg

you can find the source code under the source file feel free to check it out and leave your feedback

Clickable World Map SVG.

Example

Property Type Required Default value Description
color string yes the color of the map
selectedColor string yes when you select a Continent it get's this color
Continentcolors object no if you want each continent to have it's own color example const colors ={ Africa:'#5B8437', SouthAmerica: '#DE7480', Europe: '#CE3B29', Asia: '#E7C73E', NorthAmerica: '#E6813E', Australia: '#815C28' }
onSelectContinent funciton yes callback when the the continent is selected

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages