diff options
Diffstat (limited to 'src/mbgl/layer/fill_layer_impl.hpp')
-rw-r--r-- | src/mbgl/layer/fill_layer_impl.hpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/mbgl/layer/fill_layer_impl.hpp b/src/mbgl/layer/fill_layer_impl.hpp new file mode 100644 index 0000000000..2af0d6491d --- /dev/null +++ b/src/mbgl/layer/fill_layer_impl.hpp @@ -0,0 +1,31 @@ +#pragma once + +#include <mbgl/layer/layer_impl.hpp> +#include <mbgl/layer/fill_layer.hpp> +#include <mbgl/layer/fill_layer_properties.hpp> + +namespace mbgl { + +class FillLayer::Impl : public Layer::Impl { +public: + std::unique_ptr<Layer> clone() const override; + + void parseLayout(const JSValue&) override {}; + void parsePaints(const JSValue&) override; + + void cascade(const StyleCascadeParameters&) override; + bool recalculate(const StyleCalculationParameters&) override; + + std::unique_ptr<Bucket> createBucket(StyleBucketParameters&) const override; + + float getQueryRadius() const override; + bool queryIntersectsGeometry( + const GeometryCollection& queryGeometry, + const GeometryCollection& geometry, + const float bearing, + const float pixelsToTileUnits) const override; + + FillPaintProperties paint; +}; + +} // namespace mbgl |