Liking cljdoc? Tell your friends :D

hatti.views.map


get-style-urlcljs

(get-style-url style url & [access-token])

Returns selected map style URL.

Returns selected map style URL.
sourceraw docstring

get-viewby-datacljs

(get-viewby-data app-state
                 {:keys [chart-get data-get]}
                 {:keys [name full-name children] :as field})

Gets view-by data from charts and data endpoints if the data is not in app-state

Gets view-by data from charts and data endpoints if the data is not in
app-state
sourceraw docstring

handle-data-updatescljs

(handle-data-updates app-state)

Fires events that need to be re-fired when data updates.

Fires events that need to be re-fired when data updates.
sourceraw docstring

handle-map-eventscljs

(handle-map-events app-state opts)

Creates multiple channels and delegates events to them.

Creates multiple channels and delegates events to them.
sourceraw docstring

handle-re-rendercljs

(handle-re-render app-state {:keys [re-render!]})

Handles the re-render event

Handles the re-render event
sourceraw docstring

handle-submission-eventscljs

(handle-submission-events app-state {:keys [get-id-marker-map data-get]})

Listens to sumission events, and change the map-cursor appropriately. Needs access to app-state, event channels, as well as map objects.

Listens to sumission events, and change the map-cursor appropriately.
Needs access to app-state, event channels, as well as map objects.
sourceraw docstring

handle-viewby-eventscljs

(handle-viewby-events app-state
                      {:keys [get-id-marker-map owner chart-get] :as opts})

Listens to view-by events, and change the map-cursor appropriately. Needs access to app-state, event channels, as well as map objects.

Listens to view-by events, and change the map-cursor appropriately.
Needs access to app-state, event channels, as well as map objects.
sourceraw docstring

map-hexbin-selectorcljs

(map-hexbin-selector
  {{{show-hexbins? :show?} :hexbins {show-heatmap? :show?} :heatmap} :map-page
   :as cursor}
  owner)
source

map-hexbin-slidercljs

(map-hexbin-slider
  {{{:keys [show? cell-width hide-points? extrusion?]} :hexbins} :map-page
   :as cursor}
  owner)
source

map-layer-selectorcljs

(map-layer-selector cursor owner)
source

mapboxgl-mapcljs

(mapboxgl-map app-state owner opts)

Map and markers. Initializes mapboxgl map + adds vector tile data to it. Cursor is at :map-page

Map and markers. Initializes mapboxgl map + adds vector tile data to it.
Cursor is at :map-page
sourceraw docstring

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

× close