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

canonicalize-geodescclj/s

(canonicalize-geodesc default-type g)
source

default-optionsclj/s

source

geoclj/s

(geo & args)

Plots geometries on a map.

Plots geometries on a map.
sourceraw docstring

geojsonclj/s

(geojson & args)

Plots geometries on a map.

Plots geometries on a map.
sourceraw docstring

geojson-for-geodescclj/smultimethod

source

LeafletViewclj/s

source

parse-argsclj/s

(parse-args args)

parses custom syntax for geo-data specification. see unit test [vec of points] & [:kw1 val1 :kw2 val2]

parses custom syntax for geo-data specification.
see unit test
[vec of points] & [:kw1 val1 :kw2 val2]   
sourceraw docstring

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

× close