diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/layermanager/circle_layer_factory.hpp | 4 | ||||
-rw-r--r-- | include/mbgl/style/layers/circle_layer.hpp | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/mbgl/layermanager/circle_layer_factory.hpp b/include/mbgl/layermanager/circle_layer_factory.hpp index 51135d3383..aaf5fddfb6 100644 --- a/include/mbgl/layermanager/circle_layer_factory.hpp +++ b/include/mbgl/layermanager/circle_layer_factory.hpp @@ -8,7 +8,9 @@ class CircleLayerFactory : public LayerFactory { protected: const style::LayerTypeInfo* getTypeInfo() const noexcept final; std::unique_ptr<style::Layer> createLayer(const std::string& id, const style::conversion::Convertible& value) noexcept final; - std::unique_ptr<Bucket> createBucket(const BucketParameters&, const std::vector<Immutable<style::LayerProperties>>&) noexcept final; + std::unique_ptr<Layout> createLayout(const LayoutParameters& parameters, + std::unique_ptr<GeometryTileLayer> tileLayer, + const std::vector<Immutable<style::LayerProperties>>& group) noexcept final; std::unique_ptr<RenderLayer> createRenderLayer(Immutable<style::Layer::Impl>) noexcept final; }; diff --git a/include/mbgl/style/layers/circle_layer.hpp b/include/mbgl/style/layers/circle_layer.hpp index f0e9787caa..aac02121e1 100644 --- a/include/mbgl/style/layers/circle_layer.hpp +++ b/include/mbgl/style/layers/circle_layer.hpp @@ -19,6 +19,12 @@ public: CircleLayer(const std::string& layerID, const std::string& sourceID); ~CircleLayer() final; + // Layout properties + + static PropertyValue<float> getDefaultCircleSortKey(); + const PropertyValue<float>& getCircleSortKey() const; + void setCircleSortKey(const PropertyValue<float>&); + // Paint properties static PropertyValue<float> getDefaultCircleBlur(); |