From c2dc873cf9c026e964d1d73a2c8301d21509da6e Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Tue, 24 Sep 2019 23:06:05 +0300 Subject: [core] Introduce Layer::getPaintProperty() generic getter --- include/mbgl/style/layers/raster_layer.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/mbgl/style/layers/raster_layer.hpp') diff --git a/include/mbgl/style/layers/raster_layer.hpp b/include/mbgl/style/layers/raster_layer.hpp index ba2ea45428..e516e1a0fc 100644 --- a/include/mbgl/style/layers/raster_layer.hpp +++ b/include/mbgl/style/layers/raster_layer.hpp @@ -24,6 +24,8 @@ public: optional setLayoutProperty(const std::string& name, const conversion::Convertible& value) final; optional setPaintProperty(const std::string& name, const conversion::Convertible& value) final; + LayerProperty getPaintProperty(const std::string& name) const final; + // Paint properties static PropertyValue getDefaultRasterBrightnessMax(); -- cgit v1.2.1