public class MultiMapDatabase extends java.lang.Object implements ITileDataSource
| Constructor and Description |
|---|
MultiMapDatabase(MultiMapFileTileSource tileSource) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(MapDatabase mapDatabase) |
void |
cancel()
Implementations should cancel their IO work and return
|
void |
dispose()
Implementations should cancel and release all resources
|
void |
query(MapTile tile,
ITileDataSink mapDataSink) |
public MultiMapDatabase(MultiMapFileTileSource tileSource)
public boolean add(MapDatabase mapDatabase)
public void query(MapTile tile, ITileDataSink mapDataSink)
query in interface ITileDataSourcetile - the tile to load.mapDataSink - the callback to handle the extracted map elements.public void dispose()
ITileDataSourcedispose in interface ITileDataSourcepublic void cancel()
ITileDataSourcecancel in interface ITileDataSource