Class BubbleMapDataPoint


  • public final class BubbleMapDataPoint
    extends AbstractDataPoint
    Used for BubbleMap data sets to set the data to render.
    A data has to have a latitude and longitude properties and a value property containing the value for the coloring.
    Author:
    Andrea "Stock" Stocchero
    • Constructor Detail

      • BubbleMapDataPoint

        public BubbleMapDataPoint()
        Creates the object with an empty native object.
      • BubbleMapDataPoint

        public BubbleMapDataPoint​(double latitude,
                                  double longitude)
        Creates the object with the assigned latitude and longitude.
        Parameters:
        latitude - the latitude of the data
        longitude - the longitude of the data
      • BubbleMapDataPoint

        public BubbleMapDataPoint​(double latitude,
                                  double longitude,
                                  double value)
        Creates the object with the assigned latitude, longitude and value.
        Parameters:
        latitude - the latitude of the data
        longitude - the longitude of the data
        value - the value for the coloring
    • Method Detail

      • setLatitude

        public void setLatitude​(double latitude)
        Sets the latitude of the data.
        Parameters:
        latitude - the latitude of the data
      • getLatitude

        public double getLatitude()
        Returns the latitude of the data.
        Returns:
        the latitude of the data
      • setLongitude

        public void setLongitude​(double longitude)
        Sets the longitude of the data.
        Parameters:
        longitude - the longitude of the data
      • getLongitude

        public double getLongitude()
        Returns the longitude of the data.
        Returns:
        the longitude of the data
      • setValue

        public final void setValue​(double value)
        Sets the value for the coloring.
        Parameters:
        value - the value for the coloring
      • getValue

        public final double getValue()
        Returns the value for the coloring.
        Returns:
        the value for the coloring
      • setCenter

        public final void setCenter​(DataPointCenter center)
        Sets the coordinates where the tooltip should appear. e.g. at the capital city.
        Parameters:
        center - the coordinates where the tooltip should appear. e.g. at the capital city.
      • getCenter

        public final DataPointCenter getCenter()
        Returns the coordinates where the tooltip should appear. e.g. at the capital city.
        Returns:
        the coordinates where the tooltip should appear. e.g. at the capital city.