MapLibre Native Core
|
#include <projection.hpp>
Static Public Member Functions | |
static double | worldSize (double scale) |
static double | getMetersPerPixelAtLatitude (double lat, double zoom) |
static ProjectedMeters | projectedMetersForLatLng (const LatLng &latLng) |
static LatLng | latLngForProjectedMeters (const ProjectedMeters &projectedMeters) |
static Point< double > | project (const LatLng &latLng, double scale) |
static Point< double > | project (const LatLng &latLng, int32_t zoom) |
Returns point on tile. More... | |
static LatLng | unproject (const Point< double > &p, double scale, LatLng::WrapMode wrapMode=LatLng::Unwrapped) |
Spherical Mercator projection https://github.com/openlayers/docs/blob/c7ab69156e17bedc1059d64d7a864b7868e354c1/library/spherical_mercator.rst
Definition at line 41 of file projection.hpp.
|
inlinestatic |
Definition at line 48 of file projection.hpp.
|
inlinestatic |
Definition at line 68 of file projection.hpp.
Definition at line 78 of file projection.hpp.
Returns point on tile.
Definition at line 83 of file projection.hpp.
|
inlinestatic |
Definition at line 55 of file projection.hpp.
|
inlinestatic |
Definition at line 87 of file projection.hpp.
|
inlinestatic |
Definition at line 44 of file projection.hpp.