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 /src/mbgl/style/style.cpp | |
parent | 98f7d4db5761f527fb9677d5ec575c2f064e1847 (diff) | |
download | qtlocation-mapboxgl-6179e0f9c05d178b2475e54a49568b57d66b68ae.tar.gz |
[core] Added Style::getDefaultCamera()
Diffstat (limited to 'src/mbgl/style/style.cpp')
-rw-r--r-- | src/mbgl/style/style.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/mbgl/style/style.cpp b/src/mbgl/style/style.cpp index 5fe1ab4a06..bd8631fc52 100644 --- a/src/mbgl/style/style.cpp +++ b/src/mbgl/style/style.cpp @@ -34,20 +34,8 @@ std::string Style::getName() const { return impl->getName(); } -LatLng Style::getDefaultLatLng() const { - return impl->getDefaultLatLng(); -} - -double Style::getDefaultZoom() const { - return impl->getDefaultZoom(); -} - -double Style::getDefaultBearing() const { - return impl->getDefaultBearing(); -} - -double Style::getDefaultPitch() const { - return impl->getDefaultPitch(); +CameraOptions Style::getDefaultCamera() const { + return impl->getDefaultCamera(); } TransitionOptions Style::getTransitionOptions() const { |