diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-08 17:18:28 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-13 17:22:05 -0700 |
commit | 1529116ef6a3e2ece63adfa12e02f57a18efff27 (patch) | |
tree | bedfda973dba440a362548451f3d6777e3ab4ced /include | |
parent | 039b05ebb462762c43ce4fc750fd98ae0c9e0093 (diff) | |
download | qtlocation-mapboxgl-1529116ef6a3e2ece63adfa12e02f57a18efff27.tar.gz |
[core] Introduce Map::getLayer
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/map/map.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index d50aac1c09..749c45c4c2 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -149,6 +149,7 @@ public: AnnotationIDs getPointAnnotationsInBounds(const LatLngBounds&); + style::Layer* getLayer(const std::string& layerID); void addLayer(std::unique_ptr<style::Layer>, const optional<std::string>& beforeLayerID = {}); void removeLayer(const std::string& layerID); |