diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-05-06 16:54:09 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2020-05-26 20:35:04 +0300 |
commit | 670c4a34b12ffd37ce1aa2dcfdff0f65930fd759 (patch) | |
tree | d52831126cb86a650778495afc9901e88eb8397b /include/mbgl/style/layers/hillshade_layer.hpp | |
parent | 40adc001eb9b97055ad139b431a8f286dece932d (diff) | |
download | qtlocation-mapboxgl-670c4a34b12ffd37ce1aa2dcfdff0f65930fd759.tar.gz |
[core] Layer::getProperty() returns generic properties
Now `Layer::getProperty()` returns the following generic properties:
-"visibility"
-"minzoom"
-"maxzoom"
-"filter"
-"source-layer"
-"source"
-"type"
Diffstat (limited to 'include/mbgl/style/layers/hillshade_layer.hpp')
-rw-r--r-- | include/mbgl/style/layers/hillshade_layer.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mbgl/style/layers/hillshade_layer.hpp b/include/mbgl/style/layers/hillshade_layer.hpp index 2f50f92640..a6e3cea3f0 100644 --- a/include/mbgl/style/layers/hillshade_layer.hpp +++ b/include/mbgl/style/layers/hillshade_layer.hpp @@ -69,8 +69,7 @@ public: protected: // Dynamic properties optional<conversion::Error> setPropertyInternal(const std::string& name, const conversion::Convertible& value) final; - - StyleProperty getProperty(const std::string& name) const final; + StyleProperty getPropertyInternal(const std::string& name) const final; Value serialize() const final; Mutable<Layer::Impl> mutableBaseImpl() const final; |