diff --git a/platform/darwin/src/MGLGeoJSONSource.h b/platform/darwin/src/MGLGeoJSONSource.h index 50cab015b..7f02185db 100644 --- a/platform/darwin/src/MGLGeoJSONSource.h +++ b/platform/darwin/src/MGLGeoJSONSource.h @@ -50,6 +50,13 @@ extern NSString * const MGLGeoJSONBufferOption; */ extern NSString * const MGLGeoJSONToleranceOption; + +/** + A GeoJSON source. + + @see The + style specification. + */ @interface MGLGeoJSONSource : MGLSource /** @@ -91,11 +98,14 @@ extern NSString * const MGLGeoJSONToleranceOption; - (instancetype)initWithSourceIdentifier:(NSString *)sourceIdentifier geoJSONData:(NSData *)data NS_DESIGNATED_INITIALIZER; /** - Initializes a source with the given identifier, GeoJSON data, and a dictionary of options for the source. + Initializes a source with the given identifier, GeoJSON data, and a dictionary + of options for the source as specified by the + the + style specification. @param sourceIdentifier A string that uniquely identifies the source. @param geoJSONData An NSData object representing GeoJSON source code. - @param options An NSDictionary of attributes for this source specified by the the style specification. + @param options An NSDictionary of attributes for this source. */ - (instancetype)initWithSourceIdentifier:(NSString *)sourceIdentifier geoJSONData:(NSData *)data options:(NS_DICTIONARY_OF(NSString *, id) *)options NS_DESIGNATED_INITIALIZER; @@ -109,12 +119,15 @@ extern NSString * const MGLGeoJSONToleranceOption; - (instancetype)initWithSourceIdentifier:(NSString *)sourceIdentifier URL:(NSURL *)url NS_DESIGNATED_INITIALIZER; /** - Initializes a source with the given identifier, a URL, and a dictionary of options for the source. + Initializes a source with the given identifier, a URL, and a dictionary of + options for the source as specified by the + the + style specification. @param sourceIdentifier A string that uniquely identifies the source. @param URL An HTTP(S) URL, absolute file URL, or local file URL relative to the current application’s resource bundle. - @param options An NSDictionary of attributes for this source specified by the the style specification. + @param options An NSDictionary of attributes for this source. */ - (instancetype)initWithSourceIdentifier:(NSString *)sourceIdentifier URL:(NSURL *)url options:(NS_DICTIONARY_OF(NSString *, id) *)options NS_DESIGNATED_INITIALIZER; diff --git a/platform/darwin/src/MGLVectorSource.h b/platform/darwin/src/MGLVectorSource.h index 416ed1da9..05e041511 100644 --- a/platform/darwin/src/MGLVectorSource.h +++ b/platform/darwin/src/MGLVectorSource.h @@ -3,7 +3,8 @@ /** A vector tile source. Tiles must be in Mapbox Vector Tile format. - @see the style specification + @see The + style specification. */ @interface MGLVectorSource : MGLSource