public abstract class MapShape extends JavascriptObject
jsObject, objectCounter, peerRegistry, runtime, variableName
Constructor and Description |
---|
MapShape(String type) |
MapShape(String type,
MapShapeOptions opts) |
Modifier and Type | Method and Description |
---|---|
LatLongBounds |
getBounds() |
boolean |
getDraggable() |
boolean |
getEditable() |
boolean |
getVisible() |
void |
setDraggable(boolean draggable) |
void |
setEditable(boolean editable) |
protected void |
setMap(GoogleMap map)
This method is called from the GoogleMap.addPolygon() method,
it should not be invoked directly.
|
void |
setVisible(boolean visible) |
checkBoolean, checkInteger, checkUndefined, getJSObject, getNextVariableName, getProperty, getProperty, getVariableName, invokeJavascript, invokeJavascript, invokeJavascriptReturnValue, invokeJavascriptReturnValue, isMemberDefined, setProperty, setProperty, setProperty
public MapShape(String type)
public MapShape(String type, MapShapeOptions opts)
protected void setMap(GoogleMap map)
map
- The map to add this Polygon to.public LatLongBounds getBounds()
public boolean getDraggable()
public boolean getEditable()
public boolean getVisible()
public void setDraggable(boolean draggable)
public void setEditable(boolean editable)
public void setVisible(boolean visible)
Copyright © 2016. All Rights Reserved.