summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-10-12 15:17:41 -0700
committerMinh Nguyễn <mxn@1ec5.org>2017-10-16 15:19:49 -0700
commit10978329f958f5b9e260c525e25598484f623a49 (patch)
tree9c709fbfa45663fb26c8d3a3369dffdfc85c450b /platform
parentd7d3d2c7311c5fed79537e39b8c3ea1f954b8ccf (diff)
downloadqtlocation-mapboxgl-10978329f958f5b9e260c525e25598484f623a49.tar.gz
[ios, macos] Fixed symbol export warning
Fixed a warning issued by check-public-symbols.js in MGLMapSnapshotOptions due to the MGL_EXPORT keyword appearing before the documentation comment. Also copyedited a couple comments in the same header.
Diffstat (limited to 'platform')
-rw-r--r--platform/darwin/src/MGLMapSnapshotter.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/platform/darwin/src/MGLMapSnapshotter.h b/platform/darwin/src/MGLMapSnapshotter.h
index 615d39bee4..e227f3e306 100644
--- a/platform/darwin/src/MGLMapSnapshotter.h
+++ b/platform/darwin/src/MGLMapSnapshotter.h
@@ -5,10 +5,10 @@
NS_ASSUME_NONNULL_BEGIN
-MGL_EXPORT
/**
- The options to use when creating images with the `MGLMapsnapshotter`.
+ The options to use when creating images with the `MGLMapSnapshotter`.
*/
+MGL_EXPORT
@interface MGLMapSnapshotOptions : NSObject
/**
@@ -63,7 +63,8 @@ MGL_EXPORT
/**
The scale of the output image. Defaults to the main screen scale.
- Minimum is 1.
+
+ The minimum scale is 1.
*/
@property (nonatomic) CGFloat scale;