summaryrefslogtreecommitdiff
path: root/include/mbgl/style/layers/fill_layer.hpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-05-18 18:25:03 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2020-05-26 20:35:05 +0300
commit3bf695ebd92f0703679fef469f4407b93e4b20a2 (patch)
treeb945230f0ca78ed7fef0100fba0d2d203c0ecb25 /include/mbgl/style/layers/fill_layer.hpp
parent5b3f7b3c9e7d6cb378fbaea24aac0c3ca2a60032 (diff)
downloadqtlocation-mapboxgl-3bf695ebd92f0703679fef469f4407b93e4b20a2.tar.gz
[core] Static default property values API for layers
Introduce `style::StyleProperty LayerManager::getPropertyDefaultValue(const std::string& type, const std::string& property)`
Diffstat (limited to 'include/mbgl/style/layers/fill_layer.hpp')
-rw-r--r--include/mbgl/style/layers/fill_layer.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mbgl/style/layers/fill_layer.hpp b/include/mbgl/style/layers/fill_layer.hpp
index 35f0ffd755..056ca4c329 100644
--- a/include/mbgl/style/layers/fill_layer.hpp
+++ b/include/mbgl/style/layers/fill_layer.hpp
@@ -77,12 +77,11 @@ public:
Mutable<Impl> mutableImpl() const;
FillLayer(Immutable<Impl>);
std::unique_ptr<Layer> cloneRef(const std::string& id) const final;
-
+ static StyleProperty getPropertyDefaultValue(const std::string&);
protected:
// Dynamic properties
optional<conversion::Error> setPropertyInternal(const std::string& name, const conversion::Convertible& value) final;
StyleProperty getPropertyInternal(const std::string& name) const final;
- StyleProperty getPropertyDefaultValueInternal(const std::string&) const final;
Value serialize() const final;
Mutable<Layer::Impl> mutableBaseImpl() const final;