blob: 1b300c190b42cd1ee500aeb0b5a6c05ae63fe2ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include <mbgl/map/camera.hpp>
#include <mbgl/util/geo.hpp>
namespace mbgl {
class UpdateParameters;
/**
* RendererState acts as a Memento-like object that is able to extract data out of UpdateParameters (an opaque object
* from the public API perspective).
*/
class RendererState {
public:
// Obtains a CameraOptions out of a given UpdateParameters object.
static CameraOptions getCameraOptions(UpdateParameters&, const EdgeInsets& = {});
};
} // namespace mbgl
|