public class KmlLayerOptions extends JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
KmlLayerOptions()
use newInstance();
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getClickable()
If true, the layer receives mouse events.
|
MapWidget |
getMap()
Get the map on which the KML Layer is being rendered.
|
boolean |
getPreserveViewport()
By default, the input map is centered and zoomed to the bounding box of the contents of the layer.
|
boolean |
getSuppressInfoWindows()
Suppress the rendering of info windows when layer features are clicked.
|
static KmlLayerOptions |
newInstance()
This object defines the properties that can be set on a KmlLayer object.
|
void |
setClickable(boolean clickable)
If true, the layer receives mouse events.
|
void |
setMap(MapWidget mapWidget)
Renders the KML Layer on the specified map.
|
void |
setPreserveViewport(boolean preserveViewport)
By default, the input map is centered and zoomed to the bounding box of the contents of the layer.
|
void |
setSuppressInfoWindows(boolean suppressInfoWindows)
Suppress the rendering of info windows when layer features are clicked.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toStringpublic static final KmlLayerOptions newInstance()
public final void setClickable(boolean clickable)
clickable - public final boolean getClickable()
public final void setMap(MapWidget mapWidget)
mapWidget - public final MapWidget getMap()
public final void setPreserveViewport(boolean preserveViewport)
preserveViewport - public final boolean getPreserveViewport()
public final void setSuppressInfoWindows(boolean suppressInfoWindows)
suppressInfoWindows - public final boolean getSuppressInfoWindows()
Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.