Liking cljdoc? Tell your friends :D

pinkgorilla.dsl.leaflet

why dsl? create functions/macros that allow to easily create renderable data structures

The data that gets passed to a renderer has to be verbose, because it allows to configure all options. The dsl allows us to build the data that gets displayed in an easy manner.

dsl stolen from: https://github.com/wiseman/leaflet-gorilla

  • currently not working, because:
    1. we need to calculate map center
    2. wiseman syntax does not allow to specify all params needed
why dsl? 
create functions/macros that allow to easily create renderable data structures

The data that gets passed to a renderer has to be verbose, because it allows 
to configure all options. The dsl allows us to build the data that gets displayed
in an easy manner.

dsl stolen from: https://github.com/wiseman/leaflet-gorilla
- currently not working, because:
  1. we need to calculate map center
  2. wiseman syntax does not allow to specify all params needed
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close