Skip to content

tatut/reagent-leaflet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reagent Leaflet

Simple ClojureScript example for using LeafletJS maps as Reagent components.

Demo at http://webjure.org/reagent-leaflet/ (see example.cljs for the code).

Running locally

Clone this repo and run: lein figwheel example

TODO

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...

About

Use LeafletJS maps as Reagent components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages