Class GoogleMapsHeatmapLayer
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.neotropic.flow.component.googlemap.HeatmapLayer
-
- com.neotropic.kuwaiba.modules.commercial.ospman.providers.google.GoogleMapsHeatmapLayer
-
- All Implemented Interfaces:
Heatmap
,com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,Serializable
public class GoogleMapsHeatmapLayer extends com.neotropic.flow.component.googlemap.HeatmapLayer implements Heatmap
Represents a heatmap on the Google Maps map provider.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GoogleMapsHeatmapLayer(ViewHeatmap viewHeatmap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getDissipateOnZoom()
Gets if heatmaps dissipate on zoom.List<GeoCoordinate>
getPoints()
Gets the points displayed by this heatmap.void
setDissipateOnZoom(boolean dissipating)
Sets if heatmaps dissipate on zoom.void
setPoints(List<GeoCoordinate> points)
Sets the points to be displayed by this heatmap.-
Methods inherited from class com.neotropic.flow.component.googlemap.HeatmapLayer
getData, getDissipating, getRadius, setData, setDissipating, setRadius
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
-
-
-
Constructor Detail
-
GoogleMapsHeatmapLayer
public GoogleMapsHeatmapLayer(ViewHeatmap viewHeatmap)
-
-
Method Detail
-
getDissipateOnZoom
public boolean getDissipateOnZoom()
Description copied from interface:Heatmap
Gets if heatmaps dissipate on zoom.- Specified by:
getDissipateOnZoom
in interfaceHeatmap
- Returns:
- True if heatmap dissipate on zoom.
-
setDissipateOnZoom
public void setDissipateOnZoom(boolean dissipating)
Description copied from interface:Heatmap
Sets if heatmaps dissipate on zoom.- Specified by:
setDissipateOnZoom
in interfaceHeatmap
- Parameters:
dissipating
- True dissipate on zoom.
-
getPoints
public List<GeoCoordinate> getPoints()
Description copied from interface:Heatmap
Gets the points displayed by this heatmap.
-
setPoints
public void setPoints(List<GeoCoordinate> points)
Description copied from interface:Heatmap
Sets the points to be displayed by this heatmap.
-
-