![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
Public Member Functions | |
TileMapper (TileCacheSpec tileCacheSpec) | |
TileId | getTileId (const BasicGeoTypes::GeoPos &pos, const uint8_t tileLevel) const |
BasicGeoTypes::GeoRect | getTileExtents (TileId tileId) |
int | calcTileLevel (const BasicGeoTypes::GeoPos &vpCenter, const double vpResolution) const |
Calculate the tile level required to cover the viewport. | |
size_t | getTileSize () const noexcept |
std::string | getProjectionString () const noexcept |
int TileMapper::calcTileLevel | ( | const BasicGeoTypes::GeoPos & | vpCenter, |
const double | vpResolution | ||
) | const |
Calculate the tile level required to cover the viewport.
vpCenter | The viewport center |
vpResolution | The viewport resolution |