1 #pragma once
2 
3 #include <mbgl/map/mode.hpp>
4 #include <mbgl/map/transform_state.hpp>
5 #include <mbgl/style/light.hpp>
6 #include <mbgl/style/image.hpp>
7 #include <mbgl/style/source.hpp>
8 #include <mbgl/style/layer.hpp>
9 #include <mbgl/util/chrono.hpp>
10 #include <mbgl/util/immutable.hpp>
11 
12 #include <vector>
13 
14 namespace mbgl {
15 
16 class AnnotationManager;
17 
18 class UpdateParameters {
19 public:
20     const bool styleLoaded;
21     const MapMode mode;
22     const float pixelRatio;
23     const MapDebugOptions debugOptions;
24     const TimePoint timePoint;
25     const TransformState transformState;
26 
27     const std::string glyphURL;
28     const bool spriteLoaded;
29     const style::TransitionOptions transitionOptions;
30     const Immutable<style::Light::Impl> light;
31     const Immutable<std::vector<Immutable<style::Image::Impl>>> images;
32     const Immutable<std::vector<Immutable<style::Source::Impl>>> sources;
33     const Immutable<std::vector<Immutable<style::Layer::Impl>>> layers;
34 
35     AnnotationManager& annotationManager;
36 
37     const uint8_t prefetchZoomDelta;
38 
39     // For still image requests, render requested
40     const bool stillImageRequest;
41 };
42 
43 } // namespace mbgl
44