public interface MapTileFactory
Modifier and Type | Method and Description |
---|---|
EmptyTileHandler |
getEmptyTileHandler()
Get object that handles empty tiles.
|
OMGraphicList |
getTiles(Projection proj)
Create an OMGraphicList with a set of tiles on it.
|
OMGraphicList |
getTiles(Projection proj,
int zoomLevel)
Create an OMGraphicList that covers the projection with tiles that suit
the specified zoom level.
|
OMGraphicList |
getTiles(Projection proj,
int zoomLevel,
OMGraphicList list)
Add tiles to OMGraphicList provided that suit the given projection.
|
void |
reset()
Tell the factory to clean up resources.
|
void |
setMapTileRequester(MapTileRequester requestor)
Set a MapTileRequestor in the tile factory that should be told to repaint
when new tiles become available, and to check with during the tile fetch
whether to keep going or not.
|
OMGraphicList getTiles(Projection proj)
proj
- java.lang.InterruptedException
OMGraphicList getTiles(Projection proj, int zoomLevel)
java.lang.InterruptedException
OMGraphicList getTiles(Projection proj, int zoomLevel, OMGraphicList list)
proj
- list
- java.lang.InterruptedException
void setMapTileRequester(MapTileRequester requestor)
requestor
- callback MapTileRequestor to ask status questions.void reset()
EmptyTileHandler getEmptyTileHandler()
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details