public class WeatherLayer extends MVCObject<WeatherLayer>
Modifier | Constructor and Description |
---|---|
protected |
WeatherLayer()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addClickHandler(WeatherMouseMapHandler handler)
This event is fired when a feature in the layer is clicked.
|
MapWidget |
getMap()
Returns the map on which this layer is displayed.
|
static WeatherLayer |
newInstance(WeatherLayerOptions options)
A layer that displays graphics showing current weather conditions.
|
void |
setMap(MapWidget mapWidget)
Renders the layer on the specified map.
|
void |
setOptions(WeatherLayerOptions options)
Sets the WeatherLayer's options.
|
bindTo, bindTo, bindTo, changed, createInstanceOfMVCObject, get, notify, set, setValues, unbind, unbindAll
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final WeatherLayer newInstance(WeatherLayerOptions options)
options
- WeatherLayerOptions
configuration for layer (units, style, behaviors)public final void setMap(MapWidget mapWidget)
mapWidget
- public final void setOptions(WeatherLayerOptions options)
public final MapWidget getMap()
public final HandlerRegistration addClickHandler(WeatherMouseMapHandler handler)
handler
- Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.