Class TileUrlAndCachePathProvider

    • Constructor Detail

      • TileUrlAndCachePathProvider

        public TileUrlAndCachePathProvider(String cacheDir,
                                           String urlTemplate)
        Parameters:
        cacheDir - the dir to store cache images.
        urlTemplate - the url template.
    • Method Detail

      • getUrl

        public String getUrl(Tile tile)
        Description copied from interface: UrlProvider
        Get the url for this thing.
        Specified by:
        getUrl in interface  UrlProvider<Tile>
        Parameters:
        tile - the thing to get.
        Returns:
        the url for this thing.