[core] Cleanup Map::Impl ctor
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user