Class UrlTileDataSource

java.lang.Object
org.oscim.tiling.source.UrlTileDataSource
All Implemented Interfaces:
ITileDataSource

public class UrlTileDataSource extends Object implements ITileDataSource
  • Field Details

    • mConn

      protected final HttpEngine mConn
    • mTileDecoder

      protected final ITileDecoder mTileDecoder
    • mTileSource

      protected final UrlTileSource mTileSource
    • mUseCache

      protected final boolean mUseCache
  • Constructor Details

  • Method Details

    • query

      public void query(MapTile tile, ITileDataSink sink)
      Specified by:
      query in interface ITileDataSource
      Parameters:
      tile - the tile to load.
      sink - the callback to handle the extracted map elements.
    • dispose

      public void dispose()
      Description copied from interface: ITileDataSource
      Implementations should cancel and release all resources
      Specified by:
      dispose in interface ITileDataSource
    • cancel

      public void cancel()
      Description copied from interface: ITileDataSource
      Implementations should cancel their IO work and return
      Specified by:
      cancel in interface ITileDataSource