java.lang.Object
com.dlsc.gmapsfx.javascript.JavascriptObject
com.dlsc.gmapsfx.javascript.object.Marker

public class Marker
extends JavascriptObject
Marker which can be placed on a GoogleMap.
Author:
Rob Terpilowski
  • Constructor Details

    • Marker

      public Marker​(MarkerOptions markerOptions)
      Contructs a new map Marker with the specified options
      Parameters:
      markerOptions - The options to use when constructing this marker.
  • Method Details

    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle​(String title)
      Sets the title of this Marker
      Parameters:
      title - The Marker's new title
    • setMap

      protected void setMap​(GoogleMap map)
      This method is called from the GoogleMap.addMarker() method, it should not be invoked directly.
      Parameters:
      map - The map to add this Marker to.
    • setAnimation

      public void setAnimation​(Animation animation)
      Sets how the marker should be animated. To clear the animation use Animation.NULL
      Parameters:
      animation - The animation to use for this marker.
    • setPosition

      public void setPosition​(LatLong latLong)
    • setOptions

      public void setOptions​(MarkerOptions markerOptions2)
    • setVisible

      public void setVisible​(boolean visible)
    • getVisible

      public boolean getVisible()