|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapTileFactory
An object that fetches tiles for a given projection. It could cache the tiles, it can get them from anywhere it might want to.
Method Summary | |
---|---|
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. |
Method Detail |
---|
OMGraphicList getTiles(Projection proj)
proj
-
OMGraphicList getTiles(Projection proj, int zoomLevel)
OMGraphicList getTiles(Projection proj, int zoomLevel, OMGraphicList list)
proj
- list
-
void setMapTileRequester(MapTileRequester requestor)
requestor
- callback MapTileRequestor to ask status questions.void reset()
EmptyTileHandler getEmptyTileHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |