Constructor | Description |
---|---|
TilesCache(TileFactory<T> factory,
TileUpdater updater,
int maxTiles) |
Simple constructor.
|
Modifier and Type | Method | Description |
---|---|---|
T |
getTile(double latitude,
double longitude) |
Get the tile covering a ground point.
|
public TilesCache(TileFactory<T> factory, TileUpdater updater, int maxTiles)
factory
- factory for creating empty tilesupdater
- updater for retrieving tiles datamaxTiles
- maximum number of tiles stored simultaneously in the cachepublic T getTile(double latitude, double longitude)
latitude
- ground point latitudelongitude
- ground point longitudeCopyright © 2014-2019 CS Systèmes d'information. All rights reserved.