Package com.aerisweather.aeris.tiles
Interface AerisOverlay
-
- All Known Implementing Classes:
AerisPointData
,AerisPolygonData
,AerisTile
public interface AerisOverlay
Interface defining the Aeris Overlays
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AerisPointHandler
getHandler(AerisMapView mapView)
Gets the proper handler for the AerisRequest being made by the overlay.int
getLegend()
Gets the integer drawable of the overlay's map legend.String
getName()
Gets the display friendly name of the overlaycom.aerisweather.aeris.communication.AerisRequest
getRequest(com.aerisweather.aeris.communication.Action action, com.aerisweather.aeris.communication.parameter.ParameterBuilder builder, android.content.Context context)
Gets the request needed to load the data for the overlay.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)
Gets the request needed to load the data for the 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)
Gets the request needed to load the data for the overlay.
-
-
-
Method Detail
-
getName
String getName()
Gets the display friendly name of the overlay- Returns:
- String representation of the overlay
-
getLegend
int getLegend()
Gets the integer drawable of the overlay's map legend. Will be 0 if there is not a legend.- Returns:
- The legend of the overlay
-
getRequest
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)
Gets the request needed to load the data for the overlay.- 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
-
getHandler
AerisPointHandler getHandler(AerisMapView mapView)
Gets the proper handler for the AerisRequest being made by the overlay.- Parameters:
mapView
- The mapview Obj to pass the handler results too- Returns:
- The handler to the request made for loading the overlay.
-
getRequest
com.aerisweather.aeris.communication.AerisRequest getRequest(com.aerisweather.aeris.communication.Action action, com.aerisweather.aeris.communication.parameter.ParameterBuilder builder, android.content.Context context)
Gets the request needed to load the data for the overlay.- Parameters:
action
- action type to usebuilder
- parameters to usecontext
- context to use to retrieve default option values- Returns:
- The request object.
-
getRequest
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)
Gets the request needed to load the data for the overlay.- 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
-
-