diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-04-14 12:37:23 -0700 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-04-18 14:43:31 +0300 |
commit | 092da9c956de9d623c6f22d073ebb7dcb2f5a23f (patch) | |
tree | 81f59b8f687a3d3ed68ba5b601ad7accb45bd453 /src/mbgl/map | |
parent | 8eb23cbac8a6c5821dc5935e27689700216c3f1a (diff) | |
download | qtlocation-mapboxgl-092da9c956de9d623c6f22d073ebb7dcb2f5a23f.tar.gz |
[core] Remove non-Map-dependent projection methods from Map
Diffstat (limited to 'src/mbgl/map')
-rw-r--r-- | src/mbgl/map/map.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp index afa3304316..c2844f87f2 100644 --- a/src/mbgl/map/map.cpp +++ b/src/mbgl/map/map.cpp @@ -17,7 +17,6 @@ #include <mbgl/storage/resource.hpp> #include <mbgl/storage/response.hpp> #include <mbgl/util/exception.hpp> -#include <mbgl/util/projection.hpp> #include <mbgl/util/math.hpp> #include <mbgl/util/exception.hpp> #include <mbgl/util/async_task.hpp> @@ -798,18 +797,6 @@ ViewportMode Map::getViewportMode() const { #pragma mark - Projection -double Map::getMetersPerPixelAtLatitude(double lat, double zoom) const { - return Projection::getMetersPerPixelAtLatitude(lat, zoom); -} - -ProjectedMeters Map::projectedMetersForLatLng(const LatLng& latLng) const { - return Projection::projectedMetersForLatLng(latLng); -} - -LatLng Map::latLngForProjectedMeters(const ProjectedMeters& projectedMeters) const { - return Projection::latLngForProjectedMeters(projectedMeters); -} - ScreenCoordinate Map::pixelForLatLng(const LatLng& latLng) const { // If the center and point longitudes are not in the same side of the // antimeridian, we unwrap the point longitude so it would be seen if |