(get-style-url style url & [access-token])
Returns selected map style URL.
Returns selected map style URL.
(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
(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.
(handle-map-events app-state opts)
Creates multiple channels and delegates events to them.
Creates multiple channels and delegates events to them.
(handle-re-render app-state {:keys [re-render!]})
Handles the re-render event
Handles the re-render event
(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.
(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.
(map-hexbin-selector
{{{show-hexbins? :show?} :hexbins {show-heatmap? :show?} :heatmap} :map-page
:as cursor}
owner)
(map-hexbin-slider
{{{:keys [show? cell-width hide-points? extrusion?]} :hexbins} :map-page
:as cursor}
owner)
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close