🗺️ A React component for interactive vector maps of the world and 100+ countries
- Simple and easy to implement React component for rendering interactive vector maps
- 100+ vector maps included out of the box, free from MapSVG
- Convert your own vector map for the component to use with the online converter
- Quick and straight forward to style your map however you want to
;;// You'll need to download the json file from the docs site or you can create your own.;const Map = <VectorMap ...world />;
See the documentation for more examples and advanced usage of the component.
Issues and Bugs
If you manage to find any, please report them here so they can be squashed.
Development and Contributing
Grab the repo and then install dependencies with
# run testsyarn test# lint sourceyarn lint# build sourceyarn build# clean up build foldersyarn clean# start docs for developmentyarn docs:develop# clean up docs foldersyarn docs:clean# yarn install for the docsyarn docs:install# build docs for deploymentyarn docs:build# serve docs from /public after buildyarn docs:serve
MIT, see the LICENSE file.