java.lang.Object
com.dlsc.gmapsfx.javascript.JavascriptObject
com.dlsc.gmapsfx.javascript.object.MapShape
public abstract class MapShape extends JavascriptObject
- Author:
- Geoff Capper
-
Field Summary
Fields inherited from class com.dlsc.gmapsfx.javascript.JavascriptObject
jsObject, objectCounter, peerRegistry, runtime, variableName -
Constructor Summary
Constructors Constructor Description MapShape(String type)MapShape(String type, MapShapeOptions opts) -
Method Summary
Modifier and Type Method Description LatLongBoundsgetBounds()booleangetDraggable()booleangetEditable()booleangetVisible()voidsetDraggable(boolean draggable)voidsetEditable(boolean editable)protected voidsetMap(GoogleMap map)This method is called from the GoogleMap.addPolygon() method, it should not be invoked directly.voidsetVisible(boolean visible)Methods inherited from class com.dlsc.gmapsfx.javascript.JavascriptObject
checkBoolean, checkInteger, checkUndefined, getJSObject, getNextVariableName, getProperty, getProperty, getVariableName, invokeJavascript, invokeJavascript, invokeJavascriptReturnValue, invokeJavascriptReturnValue, isMemberDefined, setProperty, setProperty, setProperty
-
Constructor Details
-
Method Details
-
setMap
This method is called from the GoogleMap.addPolygon() method, it should not be invoked directly.- Parameters:
map- The map to add this Polygon to.
-
getBounds
-
getDraggable
public boolean getDraggable() -
getEditable
public boolean getEditable() -
getVisible
public boolean getVisible() -
setDraggable
public void setDraggable(boolean draggable) -
setEditable
public void setEditable(boolean editable) -
setVisible
public void setVisible(boolean visible)
-