diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-03-19 16:57:36 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-03-20 13:47:20 +0200 |
commit | a4e96e0fe64ffa06978f3d05c571736a811d707f (patch) | |
tree | 1cb7d4d7bbbdd6250a9ff3e320dd93af06c3ba03 /platform/default/include/mbgl/map | |
parent | d40a90a4141c797531ed4a86990bd3e6ab339d2e (diff) | |
download | qtlocation-mapboxgl-a4e96e0fe64ffa06978f3d05c571736a811d707f.tar.gz |
[core] Remove file source from public Map ctorupstream/map-ctor-no-filesource
Diffstat (limited to 'platform/default/include/mbgl/map')
-rw-r--r-- | platform/default/include/mbgl/map/map_snapshotter.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/platform/default/include/mbgl/map/map_snapshotter.hpp b/platform/default/include/mbgl/map/map_snapshotter.hpp index 2deb2b3cda..ccc3ee17f7 100644 --- a/platform/default/include/mbgl/map/map_snapshotter.hpp +++ b/platform/default/include/mbgl/map/map_snapshotter.hpp @@ -18,6 +18,7 @@ struct CameraOptions; class FileSource; class Size; class LatLngBounds; +class ResourceOptions; namespace style { class Style; @@ -25,15 +26,15 @@ class Style; class MapSnapshotter { public: - MapSnapshotter(FileSource* fileSource, - std::shared_ptr<Scheduler> scheduler, + MapSnapshotter(std::shared_ptr<Scheduler> scheduler, const std::pair<bool, std::string> style, const Size&, const float pixelRatio, const optional<CameraOptions> cameraOptions, const optional<LatLngBounds> region, - const optional<std::string> cacheDir = {}, - const optional<std::string> localFontFamily = {}); + const optional<std::string> cacheDir, + const optional<std::string> localFontFamily, + const ResourceOptions&); ~MapSnapshotter(); |