diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-03-18 16:46:24 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-03-24 20:53:55 +0200 |
commit | 280b80677797ceda07ddf75f567dd3613f285319 (patch) | |
tree | ef1eef74a7c17677fdff50dbf4bbbb8452b5ce0f /include/mbgl/style/layers/fill_layer.hpp | |
parent | 99dbb3eed50f1b89d23604916cee6de965e1f4cb (diff) | |
download | qtlocation-mapboxgl-280b80677797ceda07ddf75f567dd3613f285319.tar.gz |
[core] Move generic setProperty() parts to the base Layer class
Diffstat (limited to 'include/mbgl/style/layers/fill_layer.hpp')
-rw-r--r-- | include/mbgl/style/layers/fill_layer.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/mbgl/style/layers/fill_layer.hpp b/include/mbgl/style/layers/fill_layer.hpp index 174758a78e..4a1f09cca0 100644 --- a/include/mbgl/style/layers/fill_layer.hpp +++ b/include/mbgl/style/layers/fill_layer.hpp @@ -20,12 +20,6 @@ public: FillLayer(const std::string& layerID, const std::string& sourceID); ~FillLayer() final; - // Dynamic properties - optional<conversion::Error> setProperty(const std::string& name, const conversion::Convertible& value) final; - - StyleProperty getProperty(const std::string& name) const final; - Value serialize() const final; - // Layout properties static PropertyValue<float> getDefaultFillSortKey(); @@ -86,6 +80,12 @@ public: std::unique_ptr<Layer> cloneRef(const std::string& id) const final; protected: + // Dynamic properties + optional<conversion::Error> setPropertyInternal(const std::string& name, const conversion::Convertible& value) final; + + StyleProperty getProperty(const std::string& name) const final; + Value serialize() const final; + Mutable<Layer::Impl> mutableBaseImpl() const final; }; |