| Constructor and Description |
|---|
TilesCache(TileFactory<T> factory,
TileUpdater updater,
int maxTiles)
Simple constructor.
|
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) throws RuggedException
latitude - ground point latitudelongitude - ground point longitudeRuggedException - if newly created tile cannot be updatedCopyright © 2014–2016 CS Syst?mes d'Information. All rights reserved.