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) |
MapReadResult |
readLabels(Tile tile) |
MapReadResult |
readLabels(Tile upperLeft,
Tile lowerRight) |
MapReadResult |
readMapData(Tile tile) |
MapReadResult |
readMapData(Tile upperLeft,
Tile lowerRight) |
MapReadResult |
readPoiData(Tile tile) |
MapReadResult |
readPoiData(Tile upperLeft,
Tile lowerRight) |
boolean |
supportsTile(Tile tile) |
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 ITileDataSourcepublic MapReadResult readLabels(Tile tile)
public MapReadResult readLabels(Tile upperLeft, Tile lowerRight)
public MapReadResult readMapData(Tile tile)
public MapReadResult readMapData(Tile upperLeft, Tile lowerRight)
public MapReadResult readPoiData(Tile tile)
public MapReadResult readPoiData(Tile upperLeft, Tile lowerRight)
public boolean supportsTile(Tile tile)