[ios, macos] fixes #5962 added geojson options to support clustering
This commit is contained in:
committed by
Jesse Bounds
parent
7e208c46ce
commit
ad095e458d
@@ -1,6 +1,7 @@
|
||||
#import "MGLSource.h"
|
||||
|
||||
#import "MGLTypes.h"
|
||||
#import "MGLGeoJSONOptions.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@@ -38,6 +39,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*/
|
||||
@property (nonatomic, readonly, nullable) NSURL *URL;
|
||||
|
||||
@property (nonatomic, readonly, nullable) MGLGeoJSONOptions *geoJSONOptions;
|
||||
|
||||
/**
|
||||
Initializes a source with the given identifier and GeoJSON data.
|
||||
|
||||
@@ -46,6 +49,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*/
|
||||
- (instancetype)initWithSourceIdentifier:(NSString *)sourceIdentifier geoJSONData:(NSData *)data NS_DESIGNATED_INITIALIZER;
|
||||
|
||||
- (instancetype)initWithSourceIdentifier:(NSString *)sourceIdentifier geoJSONData:(NSData *)data options:(MGLGeoJSONOptions *)options NS_DESIGNATED_INITIALIZER;
|
||||
|
||||
/**
|
||||
Initializes a source with the given identifier and URL.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user