diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-08-11 14:38:19 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-08-11 22:04:52 +0300 |
commit | 6179e0f9c05d178b2475e54a49568b57d66b68ae (patch) | |
tree | c79aa5e8292971063720b67af5ff517d4e25a003 /include/mbgl/style | |
parent | 98f7d4db5761f527fb9677d5ec575c2f064e1847 (diff) | |
download | qtlocation-mapboxgl-6179e0f9c05d178b2475e54a49568b57d66b68ae.tar.gz |
[core] Added Style::getDefaultCamera()
Diffstat (limited to 'include/mbgl/style')
-rw-r--r-- | include/mbgl/style/style.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/mbgl/style/style.hpp b/include/mbgl/style/style.hpp index cb84922b4d..d6fdbd8f2c 100644 --- a/include/mbgl/style/style.hpp +++ b/include/mbgl/style/style.hpp @@ -1,6 +1,7 @@ #pragma once #include <mbgl/style/transition_options.hpp> +#include <mbgl/map/camera.hpp> #include <mbgl/util/geo.hpp> #include <string> @@ -32,10 +33,7 @@ public: // Defaults std::string getName() const; - LatLng getDefaultLatLng() const; - double getDefaultZoom() const; - double getDefaultBearing() const; - double getDefaultPitch() const; + CameraOptions getDefaultCamera() const; // TransitionOptions TransitionOptions getTransitionOptions() const; |