public class WeatherLayerOptions extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
WeatherLayerOptions()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
boolean |
getClickable()
gets If true, the layer receives mouse events.
|
LabelColor |
getLabelColor()
Sets the color of labels on the weather layer.
|
MapWidget |
getMap()
Returns the map on which this layer is displayed.
|
boolean |
getSuppressInfoWindows()
gets Suppress the rendering of info windows when layer features are
clicked.
|
TemperatureUnit |
getTemperatureUnits()
Gets the units to use for temperature.
|
WindSpeedUnit |
getWindSpeedUnits()
Gets the units to use for wind speed.
|
static WeatherLayerOptions |
newInstance()
creates - This object defines the properties that can be set on a
WeatherLayer object.
|
void |
setClickable(boolean clickable)
sets If true, the layer receives mouse events.
|
void |
setLabelColor(LabelColor labelColor)
Sets the color of labels on the weather layer.
|
void |
setMap(MapWidget mapWidget)
Layer will be rendered to this map
|
void |
setSuppressInfoWindows(boolean suppressInfoWindows)
Sets Suppress the rendering of info windows when layer features are
clicked.
|
void |
setTemperatureUnits(TemperatureUnit temperatureUnits)
Sets the units to use for temperature.
|
void |
setWindSpeedUnits(WindSpeedUnit windSpeedUnits)
Sets the units to use for wind speed.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final WeatherLayerOptions newInstance()
public final void setClickable(boolean clickable)
clickable
- public final boolean getClickable()
public final void setLabelColor(LabelColor labelColor)
labelColor
- public final LabelColor getLabelColor()
public final void setTemperatureUnits(TemperatureUnit temperatureUnits)
temperatureUnits
- public final TemperatureUnit getTemperatureUnits()
public final void setWindSpeedUnits(WindSpeedUnit windSpeedUnits)
windSpeedUnits
- public final WindSpeedUnit getWindSpeedUnits()
public final void setMap(MapWidget mapWidget)
mapWidget
- public final MapWidget getMap()
public final void setSuppressInfoWindows(boolean suppressInfoWindows)
suppressInfoWindows
- public final boolean getSuppressInfoWindows()
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.