To take an imperative API and transform it to a declarative React API.
We took Leaflet's API and transformed its Map
and Marker
modules into React Components to create a more React friendly API.
Clone the repo and run:
yarn
Then you can run:
yarn start
And go to http://localhost:1337
To take the Marker
API and create it for Polygon
s with nested Point
s.
Presented use of context
in order to reduce the need to keep passing the map
prop
down.