Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timwis/choo-leaflet-demo
Example usage of leaflet with choo via cache-element
https://github.com/timwis/choo-leaflet-demo
Last synced: 22 days ago
JSON representation
Example usage of leaflet with choo via cache-element
- Host: GitHub
- URL: https://github.com/timwis/choo-leaflet-demo
- Owner: timwis
- Created: 2016-11-05T21:47:21.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-26T16:55:46.000Z (almost 8 years ago)
- Last Synced: 2024-10-14T16:28:12.049Z (25 days ago)
- Language: JavaScript
- Homepage: http://choo-leaflet-demo.surge.sh
- Size: 3.91 KB
- Stars: 16
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-choo - choo-leaflet-demo
README
# choo leaflet demo
Illustrates how to use [leaflet](http://leafletjs.com) in the
[choo framework](https://github.com/yoshuawuyts/choo) via
[cache-element](https://github.com/yoshuawuyts/cache-element).
The [demo](http://choo-leaflet-demo.surge.sh) 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
```bash
npm install
```## usage
```bash
npm start
```