Top Description Fields Constructors Methods
com.dlsc.gmapsfx.javascript.object

public Class MarkerClusterer

extends JavascriptObject
Class Inheritance
Imports
com.dlsc.gmapsfx.javascript.JavascriptArray, .JavascriptObject

User: twalcari Date: 1/9/2015 Time: 12:01

Field Summary

Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
jsObjectobjectCounterpeerRegistryruntimevariableName

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public void
addMarker(Marker marker)

Adds a marker to the clusterer and redraws if needed.

public void
addMarkers(JavascriptArray markers)

Add an array of markers to the clusterer.

public void
clearMarkers()

Clears all clusters and markers from the clusterer.

public int
getGridSize()

Gets the max zoom for the clusterer.

public JavascriptArray
getMarkers()

Returns the array of markers in the clusterer.

public int
getMaxZoom()

Gets the max zoom for the clusterer.

public void
public boolean
public void
setGridSize(int number)

Sets the max zoom for the clusterer.

public void
setMaxZoom(int number)

Sets the max zoom for the clusterer.

Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
checkBooleancheckIntegercheckUndefinedgetJSObjectgetNextVariableNamegetPropertygetPropertygetVariableNameinvokeJavascriptinvokeJavascriptinvokeJavascriptReturnValueinvokeJavascriptReturnValueisMemberDefinedsetPropertysetPropertysetProperty

Constructor Detail

MarkerClustererback to summary
public MarkerClusterer(GoogleMap map)
MarkerClustererback to summary
public MarkerClusterer(GoogleMap map, JavascriptArray markers)

Method Detail

addMarkerback to summary
public void addMarker(Marker marker)

Adds a marker to the clusterer and redraws if needed.

addMarkersback to summary
public void addMarkers(JavascriptArray markers)

Add an array of markers to the clusterer.

clearMarkersback to summary
public void clearMarkers()

Clears all clusters and markers from the clusterer.

getGridSizeback to summary
public int getGridSize()

Gets the max zoom for the clusterer.

getMarkersback to summary
public JavascriptArray getMarkers()

Returns the array of markers in the clusterer.

getMaxZoomback to summary
public int getMaxZoom()

Gets the max zoom for the clusterer.

redrawback to summary
public void redraw()
removeMarkerback to summary
public boolean removeMarker(Marker marker)
setGridSizeback to summary
public void setGridSize(int number)

Sets the max zoom for the clusterer.

setMaxZoomback to summary
public void setMaxZoom(int number)

Sets the max zoom for the clusterer.