public class MarkerClusterer extends JavascriptObject
jsObject, objectCounter, peerRegistry, runtime, variableName| Constructor and Description |
|---|
MarkerClusterer(GoogleMap map) |
MarkerClusterer(GoogleMap map,
JavascriptArray markers) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMarker(Marker marker)
Adds a marker to the clusterer and redraws if needed.
|
void |
addMarkers(JavascriptArray markers)
Add an array of markers to the clusterer.
|
void |
clearMarkers()
Clears all clusters and markers from the clusterer.
|
int |
getGridSize()
Gets the max zoom for the clusterer.
|
JavascriptArray |
getMarkers()
Returns the array of markers in the clusterer.
|
int |
getMaxZoom()
Gets the max zoom for the clusterer.
|
void |
redraw() |
boolean |
removeMarker(Marker marker) |
void |
setGridSize(int number)
Sets the max zoom for the clusterer.
|
void |
setMaxZoom(int number)
Sets the max zoom for the clusterer.
|
checkBoolean, checkInteger, checkUndefined, getJSObject, getNextVariableName, getProperty, getProperty, getVariableName, invokeJavascript, invokeJavascript, invokeJavascriptReturnValue, invokeJavascriptReturnValue, isMemberDefined, setProperty, setProperty, setPropertypublic MarkerClusterer(GoogleMap map)
public MarkerClusterer(GoogleMap map, JavascriptArray markers)
public void addMarker(Marker marker)
marker - public void addMarkers(JavascriptArray markers)
markers - public void clearMarkers()
public JavascriptArray getMarkers()
public int getMaxZoom()
public void redraw()
public void setMaxZoom(int number)
number - public boolean removeMarker(Marker marker)
public int getGridSize()
public void setGridSize(int number)
number - Copyright © 2017. All rights reserved.