Package com.aerisweather.aeris.tiles
Class AerisAmpUrlTileProvider
- java.lang.Object
-
- com.aerisweather.aeris.tiles.AerisAmpUrlTileProvider
-
- All Implemented Interfaces:
com.google.android.gms.maps.model.TileProvider
- Direct Known Subclasses:
AerisAmpLayerProvider
public abstract class AerisAmpUrlTileProvider extends Object implements com.google.android.gms.maps.model.TileProvider
-
-
Field Summary
Fields Modifier and Type Field Description protected long
m_validTime
-
Constructor Summary
Constructors Constructor Description AerisAmpUrlTileProvider(int var1, int var2)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.google.android.gms.maps.model.Tile
getTile(int var1, int var2, int var3)
abstract URL
getTileUrl(int var1, int var2, int var3)
long
getValidTime()
abstract void
setValidTime(long validTime)
The setValidTime() method is implemented by the parent class, in this case AerisAmpLayerProvider, which then sets the layer's valid time in AerisAmp.
-
-
-
Method Detail
-
getTileUrl
public abstract URL getTileUrl(int var1, int var2, int var3)
-
getTile
public final com.google.android.gms.maps.model.Tile getTile(int var1, int var2, int var3)
- Specified by:
getTile
in interfacecom.google.android.gms.maps.model.TileProvider
-
setValidTime
public abstract void setValidTime(long validTime)
The setValidTime() method is implemented by the parent class, in this case AerisAmpLayerProvider, which then sets the layer's valid time in AerisAmp. Can be used to get the most correct time and date for a tile layer after loading or reloading it.- Parameters:
validTime
- long
-
getValidTime
public long getValidTime()
-
-