Interface TileUrlFactory


  • public interface TileUrlFactory
    Factory for delegating construction of URLs associated with tiles within a LevelSet.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String urlForTile​(Tile tile, java.lang.String imageFormat)
      Constructs the URL string associated with a specified tile and image format.
    • Method Detail

      • urlForTile

        java.lang.String urlForTile​(Tile tile,
                                    java.lang.String imageFormat)
        Constructs the URL string associated with a specified tile and image format.
        Parameters:
        tile - the tile for which to create the URL
        imageFormat - an optional image format used to create the URL, may be null in which case a default image format is used
        Returns:
        the URL string for the specified tile and image format
        Throws:
        java.lang.IllegalArgumentException - if the tile is null