diff options
Diffstat (limited to 'include/mbgl/map/map.hpp')
-rw-r--r-- | include/mbgl/map/map.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index fec67eb281..71b8dbc560 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -3,6 +3,7 @@ #include <mbgl/util/optional.hpp> #include <mbgl/util/chrono.hpp> #include <mbgl/map/map_observer.hpp> +#include <mbgl/map/map_options.hpp> #include <mbgl/map/mode.hpp> #include <mbgl/util/noncopyable.hpp> #include <mbgl/util/size.hpp> @@ -35,10 +36,7 @@ public: float pixelRatio, FileSource&, Scheduler&, - MapMode mapMode = MapMode::Continuous, - ConstrainMode constrainMode = ConstrainMode::HeightOnly, - ViewportMode viewportMode = ViewportMode::Default, - bool crossSourceCollisions = true); + MapOptions); ~Map(); // Register a callback that will get called (on the render thread) when all resources have |