diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2015-11-11 16:48:58 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2015-11-11 16:59:49 +0200 |
commit | aa8857643d404a5512b1bc3cec380e56f88b6f75 (patch) | |
tree | f7b5dff95ae661b4ca0877a20ff861f31636a5a3 /include/mbgl/map/map.hpp | |
parent | cd0266f25cc96358e665b6f39e358a263f6d4ab8 (diff) | |
download | qtlocation-mapboxgl-aa8857643d404a5512b1bc3cec380e56f88b6f75.tar.gz |
[core] Added MetersBounds
Diffstat (limited to 'include/mbgl/map/map.hpp')
-rw-r--r-- | include/mbgl/map/map.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index ea4073f4bf..823fcd4f21 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -135,8 +135,8 @@ public: uint16_t getHeight() const; // Projection - void getWorldBoundsMeters(ProjectedMeters& sw, ProjectedMeters& ne) const; - void getWorldBoundsLatLng(LatLng& sw, LatLng& ne) const; + MetersBounds getWorldBoundsMeters() const; + LatLngBounds getWorldBoundsLatLng() const; double getMetersPerPixelAtLatitude(double lat, double zoom) const; ProjectedMeters projectedMetersForLatLng(const LatLng&) const; |