Class PointStyle

  • All Implemented Interfaces:
    com.google.maps.android.data.renderer.model.Style

    
    public final class PointStyle
     implements Style
                        

    A data class representing the style for a PointGeometry.

    • Method Detail

      • getColor

         final Integer getColor()

        The color of the point, as an integer (e.g., ARGB) or hex string. Defaults to black.

      • getIconUrl

         final String getIconUrl()

        The URL or resource identifier for a custom marker icon. Optional.

      • getHeading

         final Float getHeading()

        The heading of the icon in degrees clockwise from north. Optional.

      • getAnchorU

         final Float getAnchorU()

        The U-coordinate of the icon's anchor point, as a ratio of the icon's width (0.0 to 1.0). Defaults to 0.5 (center).

      • getAnchorV

         final Float getAnchorV()

        The V-coordinate of the icon's anchor point, as a ratio of the icon's height (0.0 to 1.0). Defaults to 1.0 (bottom).

      • getScale

         final Float getScale()

        The scale factor for the icon. Defaults to 1.0.

      • getZIndex

         final Float getZIndex()

        The z-index of the marker. Higher values are drawn above lower values. Defaults to 0.0.

      • getTitle

         final String getTitle()

        Optional title override for the marker.

      • getSnippet

         final String getSnippet()

        Optional snippet override for the marker.

      • getDraggable

         final Boolean getDraggable()

        Whether the marker is draggable. Defaults to false.

      • getFlat

         final Boolean getFlat()

        Whether the marker should be rendered flat against the map. Defaults to false.

      • getVisible

         final Boolean getVisible()

        Whether the marker is visible. Defaults to true.