summaryrefslogtreecommitdiff
path: root/include/mbgl/layermanager/fill_layer_factory.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/layermanager/fill_layer_factory.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/layermanager/fill_layer_factory.hpp')
-rw-r--r--include/mbgl/layermanager/fill_layer_factory.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/layermanager/fill_layer_factory.hpp b/include/mbgl/layermanager/fill_layer_factory.hpp
index 09afb0dc3a..c3d67e1dc4 100644
--- a/include/mbgl/layermanager/fill_layer_factory.hpp
+++ b/include/mbgl/layermanager/fill_layer_factory.hpp
@@ -10,6 +10,7 @@ protected:
std::unique_ptr<style::Layer> createLayer(const std::string& id, const style::conversion::Convertible& value) noexcept final;
std::unique_ptr<Layout> createLayout(const LayoutParameters&, std::unique_ptr<GeometryTileLayer>, const std::vector<Immutable<style::LayerProperties>>&) noexcept final;
std::unique_ptr<RenderLayer> createRenderLayer(Immutable<style::Layer::Impl>) noexcept final;
+ style::StyleProperty getPropertyDefaultValue(const std::string& property) const noexcept final;
};
} // namespace mbgl