summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-10-12 15:17:41 -0700
committerGitHub <noreply@github.com>2017-10-12 15:17:41 -0700
commit748a938dfff2fafe53ba64e525c2fb296349ec0d (patch)
tree1819d7038011d4e7b455e84684c3388013f71162
parent06a18dd5485005ab87420c8e4c609f68984b7469 (diff)
downloadqtlocation-mapboxgl-upstream/1ec5-export-snapshot-options.tar.gz
[ios, macos] Fixed symbol export warningupstream/1ec5-export-snapshot-options
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.
-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;