Package com.aerisweather.aeris.tiles
Enum AerisTile
- java.lang.Object
-
- java.lang.Enum<AerisTile>
-
- com.aerisweather.aeris.tiles.AerisTile
-
- All Implemented Interfaces:
AerisOverlay
,Serializable
,Comparable<AerisTile>
public enum AerisTile extends Enum<AerisTile> implements AerisOverlay
Legacy class for adding tile/overlay map layers to an AerisWeather map. The replacement for this class is the AerisAmp class. AerisAmp allows access to any layer that is supported by the Aeris Mapping Platform.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
Gets the code of the AerisTile.AerisPointHandler
getHandler(AerisMapView mapView)
Not implemented in this overlay.int
getLegend()
Get the drawable legend associated with the AerisTile.String
getName()
Gets the name of the tile.com.aerisweather.aeris.communication.AerisRequest
getRequest(com.aerisweather.aeris.communication.Action action, com.aerisweather.aeris.communication.parameter.ParameterBuilder builder, android.content.Context context)
Not implemented in this overlay, Will return null.com.aerisweather.aeris.communication.AerisRequest
getRequest(com.aerisweather.aeris.communication.Action action, com.aerisweather.aeris.communication.parameter.ParameterBuilder builder, android.content.Context context, Boolean useDefaultParams)
Not implemented in this overlay.com.aerisweather.aeris.communication.AerisRequest
getRequest(com.aerisweather.aeris.communication.parameter.PlaceParameter place, com.aerisweather.aeris.communication.Action action, com.aerisweather.aeris.communication.parameter.LimitParameter limit, com.aerisweather.aeris.communication.parameter.FromParameter from, com.aerisweather.aeris.communication.parameter.SortParameter sort)
Not implemented in this overlay.static AerisTile
getTileFromName(String name)
Gets the tile from the nameString
getWithAppendedDay(Day day)
Appends the day code to the TileCode.static AerisTile
valueOf(String name)
Returns the enum constant of this type with the specified name.static AerisTile[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final AerisTile NONE
-
RADAR
public static final AerisTile RADAR
-
RADAR_GLOBAL
public static final AerisTile RADAR_GLOBAL
-
RADSAT
public static final AerisTile RADSAT
-
RADALERTS
public static final AerisTile RADALERTS
-
SAT_INFRARED
public static final AerisTile SAT_INFRARED
-
SAT_VISIBLE
public static final AerisTile SAT_VISIBLE
-
SAT_GLOBAL_INFRARED
public static final AerisTile SAT_GLOBAL_INFRARED
-
ADVISORIES
public static final AerisTile ADVISORIES
-
ADVISORIES_SV
public static final AerisTile ADVISORIES_SV
-
CURRENT_TEMP
public static final AerisTile CURRENT_TEMP
-
CURRENT_WINDS
public static final AerisTile CURRENT_WINDS
-
CURRENT_DEWPOINT
public static final AerisTile CURRENT_DEWPOINT
-
CURRENT_HUMIDITY
public static final AerisTile CURRENT_HUMIDITY
-
CURRENT_WINDCHILL
public static final AerisTile CURRENT_WINDCHILL
-
CURRENT_HEATINDEX
public static final AerisTile CURRENT_HEATINDEX
-
SNOW_DEPTH
public static final AerisTile SNOW_DEPTH
-
SNOW_DEPTH_GLOBAL
public static final AerisTile SNOW_DEPTH_GLOBAL
-
CURRENT_SEA_SURFACE_TEMPS
public static final AerisTile CURRENT_SEA_SURFACE_TEMPS
-
CURRENT_CHLOROPHYL
public static final AerisTile CURRENT_CHLOROPHYL
-
LIGHTNING_STRIKE_DENSITY
public static final AerisTile LIGHTNING_STRIKE_DENSITY
-
ONE_HOUR_PRECIP
public static final AerisTile ONE_HOUR_PRECIP
-
ROAD_CONDITIONS_INDEX
public static final AerisTile ROAD_CONDITIONS_INDEX
-
-
Method Detail
-
values
public static AerisTile[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AerisTile c : AerisTile.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AerisTile valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getLegend
public int getLegend()
Get the drawable legend associated with the AerisTile.- Specified by:
getLegend
in interfaceAerisOverlay
- Returns:
- int drawable resource for the legend.
-
getName
public String getName()
Gets the name of the tile.- Specified by:
getName
in interfaceAerisOverlay
- Returns:
- The name of the tile layer.
-
getCode
public String getCode()
Gets the code of the AerisTile.- Returns:
- the code
-
getWithAppendedDay
public String getWithAppendedDay(Day day)
Appends the day code to the TileCode.- Parameters:
day
- Day to append.- Returns:
- Code with day appended to it.
-
getTileFromName
public static AerisTile getTileFromName(String name)
Gets the tile from the name- Parameters:
name
- The title of the tile layer.- Returns:
- The AerisTile associated with the name. Null otherwise.
-
getRequest
public com.aerisweather.aeris.communication.AerisRequest getRequest(com.aerisweather.aeris.communication.parameter.PlaceParameter place, com.aerisweather.aeris.communication.Action action, com.aerisweather.aeris.communication.parameter.LimitParameter limit, com.aerisweather.aeris.communication.parameter.FromParameter from, com.aerisweather.aeris.communication.parameter.SortParameter sort)
Not implemented in this overlay. Will Return null.- Specified by:
getRequest
in interfaceAerisOverlay
- Parameters:
place
- place parameter to useaction
- action type to uselimit
- limit parameter to usefrom
- default from parameter to usesort
- default sort parameter to use- Returns:
- The Aeris Request to load the overlay
-
getRequest
public com.aerisweather.aeris.communication.AerisRequest getRequest(com.aerisweather.aeris.communication.Action action, com.aerisweather.aeris.communication.parameter.ParameterBuilder builder, android.content.Context context, Boolean useDefaultParams)
Not implemented in this overlay. Will Return null.- Specified by:
getRequest
in interfaceAerisOverlay
- Parameters:
action
- action type to usebuilder
- parameters to usecontext
- context to use to retrieve default option values, if neededuseDefaultParams
- flag to determine whether or not to use default parameters- Returns:
- The request object
-
getHandler
public AerisPointHandler getHandler(AerisMapView mapView)
Not implemented in this overlay. Will Return null.- Specified by:
getHandler
in interfaceAerisOverlay
- Parameters:
mapView
- The mapview Obj to pass the handler results too- Returns:
- The handler to the request made for loading the overlay.
-
getRequest
public com.aerisweather.aeris.communication.AerisRequest getRequest(com.aerisweather.aeris.communication.Action action, com.aerisweather.aeris.communication.parameter.ParameterBuilder builder, android.content.Context context)
Not implemented in this overlay, Will return null.- Specified by:
getRequest
in interfaceAerisOverlay
- Parameters:
action
- action type to usebuilder
- parameters to usecontext
- context to use to retrieve default option values- Returns:
- The request object.
-
-