diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-02 18:04:25 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-02 18:53:37 -0800 |
commit | 82d67d6912008f179054c8e2e74a84d2cd62d31c (patch) | |
tree | b44089188293a260cde0afe88df8a211c4ba790f /include/mbgl/util/projection.hpp | |
parent | 8e9510d2b4180fef50b7dd2e90b98143721ae414 (diff) | |
download | qtlocation-mapboxgl-82d67d6912008f179054c8e2e74a84d2cd62d31c.tar.gz |
[core] Remove unused
Diffstat (limited to 'include/mbgl/util/projection.hpp')
-rw-r--r-- | include/mbgl/util/projection.hpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/mbgl/util/projection.hpp b/include/mbgl/util/projection.hpp index f067db2e1f..bee5eac8ae 100644 --- a/include/mbgl/util/projection.hpp +++ b/include/mbgl/util/projection.hpp @@ -11,16 +11,6 @@ namespace mbgl { class Projection { public: - static inline MetersBounds getWorldBoundsMeters() { - const double d = util::EARTH_RADIUS_M * M_PI; - return { { -d, -d }, { d, d } }; - } - - static inline LatLngBounds getWorldBoundsLatLng() { - MetersBounds bounds = getWorldBoundsMeters(); - return { latLngForProjectedMeters(bounds.sw), latLngForProjectedMeters(bounds.ne) }; - } - static inline double getMetersPerPixelAtLatitude(double lat, double zoom) { const double mapPixelWidthAtZoom = std::pow(2.0, zoom) * util::tileSize; const double constrainedLatitude = ::fmin(::fmax(lat, -util::LATITUDE_MAX), util::LATITUDE_MAX); |