Package 

Interface ITileSource

    • Method Summary

      Modifier and Type Method Description
      abstract int ordinal() An ordinal identifier for this tile source
      abstract String name() A human-friendly name for this tile source
      abstract String getTileRelativeFilenameString(long pMapTileIndex) Get a unique file path for the tile.
      abstract Drawable getDrawable(String aFilePath) Get a rendered Drawable from the specified file path.
      abstract Drawable getDrawable(InputStream aTileInputStream) Get a rendered Drawable from the specified InputStream.
      abstract int getMinimumZoomLevel() Get the minimum zoom level this tile source can provide.
      abstract int getMaximumZoomLevel() Get the maximum zoom level this tile source can provide.
      abstract int getTileSizePixels() Get the tile size in pixels this tile source provides.
      abstract String getCopyrightNotice() Returns an I18N sensitive string representing the copy right notice (if any) of the tile source
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • ordinal

        @Deprecated() abstract int ordinal()

        An ordinal identifier for this tile source

      • name

         abstract String name()

        A human-friendly name for this tile source

      • getTileRelativeFilenameString

         abstract String getTileRelativeFilenameString(long pMapTileIndex)

        Get a unique file path for the tile. This file path may be used to store the tile on a filesystem and performance considerations should be taken into consideration. It can includemultiple paths. It should not begin with a leading path separator.

        Parameters:
        pMapTileIndex - the tile
      • getDrawable

         abstract Drawable getDrawable(String aFilePath)

        Get a rendered Drawable from the specified file path.

        Parameters:
        aFilePath - a file path
      • getDrawable

         abstract Drawable getDrawable(InputStream aTileInputStream)

        Get a rendered Drawable from the specified InputStream.

        Parameters:
        aTileInputStream - an InputStream
      • getMinimumZoomLevel

         abstract int getMinimumZoomLevel()

        Get the minimum zoom level this tile source can provide.

      • getMaximumZoomLevel

         abstract int getMaximumZoomLevel()

        Get the maximum zoom level this tile source can provide.

      • getTileSizePixels

         abstract int getTileSizePixels()

        Get the tile size in pixels this tile source provides.

      • getCopyrightNotice

         abstract String getCopyrightNotice()

        Returns an I18N sensitive string representing the copy right notice (if any) of the tile source