#ifndef MBGL_BACKGROUND_LAYER #define MBGL_BACKGROUND_LAYER #include #include namespace mbgl { class BackgroundPaintProperties { public: PaintProperty opacity = 1.0f; PaintProperty color = { {{ 0, 0, 0, 1 }} }; PaintProperty> pattern = { "" }; }; class BackgroundLayer : public StyleLayer { public: std::unique_ptr clone() const override; void parseLayout(const JSVal&) override {}; void parsePaints(const JSVal&) override; void cascade(const StyleCascadeParameters&) override; bool recalculate(const StyleCalculationParameters&) override; std::unique_ptr createBucket(StyleBucketParameters&) const override; BackgroundPaintProperties paint; }; } // namespace mbgl #endif