heatmap
Description
Adds heatmap functionality to layers configured to support it (WMS-layers only at the moment). Configuration is done by adding the following information to a layers JSON:
{
attributes : {
geometryProperty : "the_geom",
layerWorkspace : "ows",
heatmap : ["properties to use", "as heatmap weighted property"]
}
}
SelectedLayers bundle will show heatmap-enabled layers with an additional "Heatmap" tool in the layer frame to access the functionality. Note! Generated SLD expects Geoserver as the WMS-service.
Screenshot
Bundle configuration
No configuration is required.
Bundle state
No statehandling has been implemented.
Requests the bundle handles
This bundle doesn't handle any requests.
Requests the bundle sends out
This bundle doesn't send out any requests.
Events the bundle listens to
Event | Why/when |
---|---|
MapLayerEvent | Adds heatmap tool to layer |
AfterMapLayerRemoveEvent | Removes layer from the map |
AfterChangeMapLayerOpacityEvent | Changes map layer opacity |
Events the bundle sends out
This bundle doesn't send out any events.
Dependencies
Dependency | Linked from | Purpose |
---|---|---|
jQuery | Linked in portal theme | Used to create the component UI from begin to end |
Spectrum Color Picker | Heatmap bundle | Used to select colors for heatmap |