Class Marker


public class Marker extends Billboard
A billboard element with a static bitmap that can be displayed on the map.
  • Constructor Details

    • Marker

      public Marker(Billboard baseBillboard, MarkerStyle style)
      Constructs a Marker object with the specified style and attaches it to a billboard element.
      Parameters:
      baseBillboard - The billboard this billboard will be attached to.
      style - The style that defines what this marker looks like.
    • Marker

      public Marker(Geometry geometry, MarkerStyle style)
      Constructs a Marker object from a geometry object and a style.
      Parameters:
      geometry - The geometry object that defines the location of this marker.
      style - The style that defines what this marker looks like.
    • Marker

      public Marker(MapPos pos, MarkerStyle style)
      Constructs a Marker object from a map position and a style.
      Parameters:
      pos - The map position that defines the location of this marker.
      style - The style that defines what this marker looks like.
  • Method Details

    • getStyle

      public MarkerStyle getStyle()
      Returns the style of this marker.
      Returns:
      The style that defines what this marker looks like.
    • setStyle

      public void setStyle(MarkerStyle style)
      Sets the style for this marker.
      Parameters:
      style - The new style that defines what this marker looks like.