Constructor and Description |
---|
TilesCache(TileFactory<T> factory,
TileUpdater updater,
int maxTiles,
boolean isOverlappingTiles)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
T |
getTile(double latitude,
double longitude)
Get the tile covering a ground point.
|
public TilesCache(TileFactory<T> factory, TileUpdater updater, int maxTiles, boolean isOverlappingTiles)
factory
- factory for creating empty tilesupdater
- updater for retrieving tiles datamaxTiles
- maximum number of tiles stored simultaneously in the cacheisOverlappingTiles
- flag to tell if the DEM tiles are overlapping:
true if overlapping; false otherwise.public T getTile(double latitude, double longitude)
latitude
- ground point latitude (rad)longitude
- ground point longitude (rad)Copyright © 2014-2023 CS GROUP. All rights reserved.