summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/location_indicator_layer_impl.hpp
blob: 954484ecb81a13c53509ffa6f7dfc0a2762f088d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once

#include <array>
#include <mbgl/map/transform_state.hpp>
#include <mbgl/renderer/paint_parameters.hpp>
#include <mbgl/style/layer_impl.hpp>
#include <mbgl/style/layer_properties.hpp>
#include <mbgl/style/layers/location_indicator_layer.hpp>
#include <mbgl/style/layers/location_indicator_layer_properties.hpp>
#include <mbgl/util/color.hpp>
#include <mbgl/util/geo.hpp>
#include <memory>
#include <string>

namespace mbgl {

class TransformState;

namespace style {

class LocationIndicatorLayer::Impl : public Layer::Impl {
public:
    using Layer::Impl::Impl;

    bool hasLayoutDifference(const Layer::Impl &) const override;
    void stringifyLayout(rapidjson::Writer<rapidjson::StringBuffer> &) const override;

    LocationIndicatorLayoutProperties::Unevaluated layout;
    LocationIndicatorPaintProperties::Transitionable paint;
    DECLARE_LAYER_TYPE_INFO;
};

} // namespace style
} // namespace mbgl