diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2020-02-27 15:08:59 +0200 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2020-03-05 17:43:37 +0200 |
commit | 1577a6b53764e3093b31969cc69de41c7ebf2978 (patch) | |
tree | a281716e8db89ab21bb0395e4eef454da32f0f33 /platform/default/include | |
parent | 29eff4028d9a17557c0aca5ce68c824335e1489e (diff) | |
download | qtlocation-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.hpp | 3 |
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>; |