Class 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 Detail

      • m_validTime

        protected long m_validTime
    • Constructor Detail

      • AerisAmpUrlTileProvider

        public AerisAmpUrlTileProvider​(int var1,
                                       int var2)
    • 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 interface com.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()