summaryrefslogtreecommitdiff
path: root/include/mbgl/style/layer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/layer.hpp')
-rw-r--r--include/mbgl/style/layer.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/style/layer.hpp b/include/mbgl/style/layer.hpp
index a7e18757ac..333990a13b 100644
--- a/include/mbgl/style/layer.hpp
+++ b/include/mbgl/style/layer.hpp
@@ -114,6 +114,7 @@ public:
// Dynamic properties
optional<conversion::Error> setProperty(const std::string& name, const conversion::Convertible& value);
StyleProperty getProperty(const std::string& name) const;
+ StyleProperty getPropertyDefaultValue(const std::string& name) const;
Value serialize() const override;
// Private implementation
@@ -145,6 +146,7 @@ protected:
virtual optional<conversion::Error> setPropertyInternal(const std::string& name,
const conversion::Convertible& value) = 0;
virtual StyleProperty getPropertyInternal(const std::string&) const = 0;
+ virtual StyleProperty getPropertyDefaultValueInternal(const std::string&) const;
LayerObserver* observer;
mapbox::base::WeakPtrFactory<Layer> weakFactory {this};