Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tatut/reagent-leaflet

Use LeafletJS maps as Reagent components
https://github.com/tatut/reagent-leaflet

Last synced: 3 months ago
JSON representation

Use LeafletJS maps as Reagent components

Awesome Lists containing this project

README

        

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