#include <cmath>
Go to the source code of this file.
◆ getTileWH()
double getTileWH |
( |
double const |
latitude, |
|
|
int const |
zoom |
|
) |
| |
|
inline |
Calculate the tile width/height in meter
Definition at line 50 of file mercator.h.
◆ zoomToMaxTiles()
int zoomToMaxTiles |
( |
int |
zoom | ) |
|
|
inline |
Maximum number of tiles for the zoom level in one direction
Definition at line 42 of file mercator.h.
◆ zoomToResolution()
float zoomToResolution |
( |
double |
lat, |
|
|
int |
zoom |
|
) |
| |
|
inline |
◆ MAX_BLOCKS
constexpr int MAX_BLOCKS = 8 |
|
static |
Max number of adjacent blocks to support.
Definition at line 20 of file mercator.h.
◆ MAX_ZOOM
constexpr int MAX_ZOOM = 22 |
|
static |
Max zoom level to support.
Definition at line 23 of file mercator.h.