|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.mvc.MVCObject<WeatherLayer>
com.google.gwt.maps.client.weatherlib.WeatherLayer
public class WeatherLayer
A layer showing current weather conditions. This class extends MVCObject.
See WeatherLayer API
Doc
| Constructor Summary | |
|---|---|
protected |
WeatherLayer()
use newInstance(); |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.google.gwt.maps.client.mvc.MVCObject |
|---|
bindTo, bindTo, bindTo, changed, createInstanceOfMVCObject, get, notify, set, setValues, unbind, unbindAll |
| 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 |
| Constructor Detail |
|---|
protected WeatherLayer()
| Method Detail |
|---|
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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||