diff options
Diffstat (limited to 'src/mbgl/map/map_impl.hpp')
-rw-r--r-- | src/mbgl/map/map_impl.hpp | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/src/mbgl/map/map_impl.hpp b/src/mbgl/map/map_impl.hpp index 32dc728b70..d65fe5aafc 100644 --- a/src/mbgl/map/map_impl.hpp +++ b/src/mbgl/map/map_impl.hpp @@ -4,6 +4,7 @@ #include <mbgl/annotation/annotation_manager.hpp> #include <mbgl/map/map.hpp> #include <mbgl/map/map_observer.hpp> +#include <mbgl/map/map_options.hpp> #include <mbgl/map/mode.hpp> #include <mbgl/map/transform.hpp> #include <mbgl/renderer/renderer_frontend.hpp> @@ -26,20 +27,7 @@ struct StillImageRequest { class Map::Impl : public style::Observer, public RendererObserver { public: - Impl(Map&, - RendererFrontend&, - MapObserver&, - FileSource&, - Scheduler&, - - Size size, - float pixelRatio, - - MapMode, - ConstrainMode, - ViewportMode, - bool crossSourceCollisions); - + Impl(RendererFrontend&, MapObserver&, FileSource&, Scheduler&, Size size, float pixelRatio, const MapOptions&); ~Impl() final; // StyleObserver @@ -57,7 +45,9 @@ public: void onWillStartRenderingMap() final; void onDidFinishRenderingMap() final; - Map& map; + // Map + void jumpTo(const CameraOptions&); + MapObserver& observer; RendererFrontend& rendererFrontend; FileSource& fileSource; |