Class AerisTileProvider

  • All Implemented Interfaces:
    com.google.android.gms.maps.model.TileProvider

    public class AerisTileProvider
    extends Object
    implements com.google.android.gms.maps.model.TileProvider
    Handles adding tiles layers using the Aeris API to grab tiles with the associated mapview.
    • Constructor Detail

      • AerisTileProvider

        public AerisTileProvider​(AerisTile tileCode,
                                 int opacity)
        Custom tile provider for the weather tiles.
        Parameters:
        tileCode - tile code type to use with the mapview.
        opacity - int
      • AerisTileProvider

        public AerisTileProvider​(AerisTile tileCode,
                                 int opacity,
                                 String extraFilter)
        Custom tile provider for the weather tiles.
        Parameters:
        tileCode - AerisTile
        opacity - int
        extraFilter - String
    • Method Detail

      • withDelegate

        public AerisTileProvider withDelegate​(AerisTileDisplayDelegate delegate)
        Adds a delegate to pass the tile name and date to when it is loaded.
        Parameters:
        delegate - delegate to pass information about the tiles that loaded.
        Returns:
        tile provider
      • getTile

        public com.google.android.gms.maps.model.Tile getTile​(int x,
                                                              int y,
                                                              int z)
        Specified by:
        getTile in interface com.google.android.gms.maps.model.TileProvider