diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-03-19 16:52:14 +0200 |
---|---|---|
committer | Alf Watt <alf.watt@mapbox.com> | 2019-03-21 12:25:11 -0700 |
commit | 15c6dbe967f4150a0d9f555781c7e353ecf20043 (patch) | |
tree | fd3332defbfc2c2d388c0d0cb910de92aeb1636e /src/mbgl/map/map_impl.hpp | |
parent | de6b455209d22ad6c2a629e8c60d112ac9df59dd (diff) | |
download | qtlocation-mapboxgl-15c6dbe967f4150a0d9f555781c7e353ecf20043.tar.gz |
[core] Cleanup Map::Impl ctor
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; |