com.google.gwt.maps.client.overlay
Class PolygonOptions
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.overlay.PolygonOptions
public class PolygonOptions
- extends com.google.gwt.core.client.JavaScriptObject
Options to pass to the Polygon
constructor.
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PolygonOptions
protected PolygonOptions()
newInstance
public static PolygonOptions newInstance(boolean clickable)
- Returns a new instance of the PolygonOptions object.
- Parameters:
clickable
- pass false
to make this polygon ignore
clicks.
- Returns:
- a new instance of the PolygonOptions object.
newInstance
public static PolygonOptions newInstance()
- Returns a new instance of the PolygonOptions object.
- Returns:
- a new instance of the PolygonOptions object.
setClickable
public final void setClickable(boolean clickable)
- Toggles whether or not the polygon is clickable. The default value for this
option is true, i.e. if the option is not specified, the polygon will be
clickable.
- Parameters:
clickable
- pass false
to make this polygon not
clickable.