Package org.oscim.tiling
Interface ITileDataSink
- All Known Implementing Classes:
BitmapTileLoader,OverzoomDataSink,TileDataSink,TileLoader,VectorTileLoader
public interface ITileDataSink
ITileDataSink callbacks (implemented by MapTileLoader)
-
Method Summary
Modifier and TypeMethodDescriptionvoidcompleted(QueryResult result) Notify loader that tile loading is completed.voidprocess(MapElement element) Pass read MapElement data to loader.voidsetTileImage(Bitmap bitmap) Pass read Bitmap data to loader.
-
Method Details
-
process
Pass read MapElement data to loader. NOTE: MapElement passed belong to the caller! i.e. dont hold references to any of its data after callback function returns. -
setTileImage
Pass read Bitmap data to loader. -
completed
Notify loader that tile loading is completed.
-