An SVG interactive map
npm install @salocreative/interactive-mapDEMO here https://salocreative.github.io/react-interactive-map
Install
```
yarn add @salocreative/interactive-map
The simple will render an
`javascript`
import { SimpleMap } from '@salocreative/interactive-map';
Implement as follows
`javascript`
for full documentation see README_SIMPLE.md
This map is an SVG mercator projection of the globe. This allows us to plot latitude and longitudes directly on it. In order to keep the implementation straightforward and easy to customise this component simply exposes a render prop with the calculation required to perform the conversion for you. You can then position your child elements as you require based on the X & Y coordinates. If you need to simply handle countries and interaction at that level please see the SimpleMap implementation.
`javascript`
import { MercatorMap } from '@salocreative/interactive-map';
Implement as follows
`javascript``
for full documentation see README_MERCATOR.md