summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLMapSnapshotter.h
diff options
context:
space:
mode:
authorFabian Guerra <fabian.guerra@mapbox.com>2017-12-14 16:44:00 -0600
committerFabian Guerra Soto <fabian.guerra@mapbox.com>2017-12-20 09:01:15 -0600
commitf644d188be719fc6a7a5e6b66b2a69c42e28a970 (patch)
tree8372a92577af2c26e19aa1a2183a673dd7061e11 /platform/darwin/src/MGLMapSnapshotter.h
parent7f5dfb16bca7ab1191beb06940ef75ab4f197ec0 (diff)
downloadqtlocation-mapboxgl-f644d188be719fc6a7a5e6b66b2a69c42e28a970.tar.gz
[ios, macos] Remove duplicated variables between MGLMapSnapshotOptions and MGLMapSnapshotter
Diffstat (limited to 'platform/darwin/src/MGLMapSnapshotter.h')
-rw-r--r--platform/darwin/src/MGLMapSnapshotter.h39
1 files changed, 2 insertions, 37 deletions
diff --git a/platform/darwin/src/MGLMapSnapshotter.h b/platform/darwin/src/MGLMapSnapshotter.h
index 978e19dc20..fc68204a7d 100644
--- a/platform/darwin/src/MGLMapSnapshotter.h
+++ b/platform/darwin/src/MGLMapSnapshotter.h
@@ -190,44 +190,9 @@ MGL_EXPORT
- (void)cancel;
/**
- The zoom level.
-
- The default zoom level is 0. If this property is non-zero and the camera
- property is non-nil, the camera’s altitude is ignored in favor of this
- property’s value.
- */
-@property (nonatomic) double zoomLevel;
-
-/**
- A camera representing the viewport visible in the snapshot.
-
- If this property is non-nil and the `coordinateBounds` property is set to a
- non-empty coordinate bounds, the camera’s center coordinate and altitude are
- ignored in favor of the `coordinateBounds` property.
- */
-@property (nonatomic) MGLMapCamera *camera;
-
-/**
- The coordinate rectangle that encompasses the bounds to capture.
-
- If this property is non-empty and the camera property is non-nil, the camera’s
- center coordinate and altitude are ignored in favor of this property’s value.
- */
-@property (nonatomic) MGLCoordinateBounds coordinateBounds;
-
-/**
- URL of the map style to snapshot.
-
- The URL may be a full HTTP or HTTPS URL, a Mapbox URL indicating the style’s
- map ID (`mapbox://styles/{user}/{style}`), or a path to a local file relative
- to the application’s resource path. Specify `nil` for the default style.
- */
-@property (nonatomic, nullable) NSURL *styleURL;
-
-/**
- The size of the output image, measured in points.
+ The options to use when generating a map snapshot.
*/
-@property (nonatomic) CGSize size;
+@property (nonatomic) MGLMapSnapshotOptions *options;
/**
Indicates whether a snapshot is currently being generated.