Simple ClojureScript example for using LeafletJS maps as Reagent components.
Demo at http://webjure.org/reagent-leaflet/ (see example.cljs for the code).
Clone this repo and run: lein figwheel example
This is work in progress.
- no externs yet (not tested in advanced compilation mode)
- support more options
- support more geometry types and geometry options (color, bind popups, etc)
- support more events
- unmount behaviour (cleanup when map is being removed from DOM)
- turn this into a proper library and push it to clojars
- plethora of other stuff...