summaryrefslogtreecommitdiff
path: root/include/mbgl/sourcemanager/source_factory.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/sourcemanager/source_factory.hpp')
-rw-r--r--include/mbgl/sourcemanager/source_factory.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/sourcemanager/source_factory.hpp b/include/mbgl/sourcemanager/source_factory.hpp
index 31d392163b..202768b946 100644
--- a/include/mbgl/sourcemanager/source_factory.hpp
+++ b/include/mbgl/sourcemanager/source_factory.hpp
@@ -32,6 +32,9 @@ public:
/// Returns a new RenderSource instance.
virtual std::unique_ptr<RenderSource> createRenderSource(Immutable<style::Source::Impl>) noexcept = 0;
+
+ /// Returns the default value for the given source property
+ virtual Value getPropertyDefaultValue(const std::string& property) noexcept = 0;
};
} // namespace mbgl