summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSudarsana Babu Nagineni <sudarsana.babu@mapbox.com>2019-03-25 23:24:02 +0200
committerSudarsana Babu Nagineni <sudarsana.babu@mapbox.com>2019-03-28 16:41:15 +0200
commite639087c9103b25bd0ea7594ab4280c227243f88 (patch)
treeaf4d0df8a85d3695a8d2c5ca4efab9f7aef7cd10 /include
parentfe8c07710f4444921a560029210ea1831a9ac52e (diff)
downloadqtlocation-mapboxgl-e639087c9103b25bd0ea7594ab4280c227243f88.tar.gz
[core] Add getter for Map options
Instead of having individual getter for each Map option, add a common getter for all Map options.
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index be8bf45142..bd0cfbc0d7 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -91,13 +91,10 @@ public:
void setNorthOrientation(NorthOrientation);
NorthOrientation getNorthOrientation() const;
- // Constrain mode
+ // Map Options
void setConstrainMode(ConstrainMode);
- ConstrainMode getConstrainMode() const;
-
- // Viewport mode
void setViewportMode(ViewportMode);
- ViewportMode getViewportMode() const;
+ MapOptions getMapOptions() const;
//Projection Mode
void setProjectionMode(const ProjectionMode&);