summaryrefslogtreecommitdiff
path: root/platform/default/include
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2020-02-27 15:08:59 +0200
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2020-03-05 17:43:37 +0200
commit1577a6b53764e3093b31969cc69de41c7ebf2978 (patch)
treea281716e8db89ab21bb0395e4eef454da32f0f33 /platform/default/include
parent29eff4028d9a17557c0aca5ce68c824335e1489e (diff)
downloadqtlocation-mapboxgl-1577a6b53764e3093b31969cc69de41c7ebf2978.tar.gz
[core] Expose Style from Snapshotter
Diffstat (limited to 'platform/default/include')
-rw-r--r--platform/default/include/mbgl/map/map_snapshotter.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/default/include/mbgl/map/map_snapshotter.hpp b/platform/default/include/mbgl/map/map_snapshotter.hpp
index 7742669c46..2f7a4e6c0c 100644
--- a/platform/default/include/mbgl/map/map_snapshotter.hpp
+++ b/platform/default/include/mbgl/map/map_snapshotter.hpp
@@ -46,6 +46,9 @@ public:
void setRegion(const LatLngBounds&);
LatLngBounds getRegion() const;
+ style::Style& getStyle();
+ const style::Style& getStyle() const;
+
using PointForFn = std::function<ScreenCoordinate (const LatLng&)>;
using LatLngForFn = std::function<LatLng (const ScreenCoordinate&)>;
using Attributions = std::vector<std::string>;