Class 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
    • 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, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
    • 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 interface Heatmap
        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 interface Heatmap
        Parameters:
        dissipating - True dissipate on zoom.
      • getPoints

        public List<GeoCoordinate> getPoints()
        Description copied from interface: Heatmap
        Gets the points displayed by this heatmap.
        Specified by:
        getPoints in interface Heatmap
        Returns:
        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.
        Specified by:
        setPoints in interface Heatmap
        Parameters:
        points - The points to be displayed by this heatmap.