Class MarkerClusterer

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

public class MarkerClusterer
extends JavascriptObject
User: twalcari Date: 1/9/2015 Time: 12:01
  • Constructor Details

  • Method Details

    • addMarker

      public void addMarker​(Marker marker)
      Adds a marker to the clusterer and redraws if needed.
      Parameters:
      marker -
    • addMarkers

      public void addMarkers​(JavascriptArray markers)
      Add an array of markers to the clusterer.
      Parameters:
      markers -
    • clearMarkers

      public void clearMarkers()
      Clears all clusters and markers from the clusterer.
    • getMarkers

      public JavascriptArray getMarkers()
      Returns the array of markers in the clusterer.
      Returns:
    • getMaxZoom

      public int getMaxZoom()
      Gets the max zoom for the clusterer.
      Returns:
    • redraw

      public void redraw()
    • setMaxZoom

      public void setMaxZoom​(int number)
      Sets the max zoom for the clusterer.
      Parameters:
      number -
    • removeMarker

      public boolean removeMarker​(Marker marker)
    • getGridSize

      public int getGridSize()
      Gets the max zoom for the clusterer.
      Returns:
    • setGridSize

      public void setGridSize​(int number)
      Sets the max zoom for the clusterer.
      Parameters:
      number -