/choo-leaflet-demo

Example usage of leaflet with choo via cache-element

Primary LanguageJavaScript

choo leaflet demo

Illustrates how to use leaflet in the choo framework via cache-element. The demo shows a reducer that updates the title part of the state without affecting or re-rendering the map, as well as a reducer that updates the coords which causes the map to pan to a new location.

install

npm install

usage

npm start