diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2020-04-16 16:52:39 +0300 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2020-04-16 13:52:54 -0400 |
commit | ffea0af9bf0b8cb91a17b58645f9a4c34bc3e8e5 (patch) | |
tree | 6484a9065f11dd0b165b72bbbc4c36854b1b4553 /include | |
parent | 7f0c13967d7265f9218ee6cec61c28e0ac40fc90 (diff) | |
download | qtlocation-mapboxgl-ffea0af9bf0b8cb91a17b58645f9a4c34bc3e8e5.tar.gz |
Add generic setter for 'source' property
- Add setter for 'source' property
- Test generic setters via setProperty method
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/style/layer.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/style/layer.hpp b/include/mbgl/style/layer.hpp index 53e0f0f18e..9884ad0a35 100644 --- a/include/mbgl/style/layer.hpp +++ b/include/mbgl/style/layer.hpp @@ -94,6 +94,7 @@ public: std::string getSourceID() const; std::string getSourceLayer() const; void setSourceLayer(const std::string& sourceLayer); + void setSourceID(const std::string& sourceID); // Filter const Filter& getFilter() const; |