Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bart Louwers <bart@emeel.net>
48 lines
1.1 KiB
Objective-C
48 lines
1.1 KiB
Objective-C
#import <Foundation/Foundation.h>
|
||
|
||
#import "MLNActionJournalOptions.h"
|
||
#import "MLNFoundation.h"
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
/**
|
||
The ``MLNMapOptions`` object provides a way to set map properties for each instance
|
||
*/
|
||
MLN_EXPORT
|
||
@interface MLNMapOptions : NSObject
|
||
|
||
/**
|
||
URL of the map style to display. The URL may be a full HTTP
|
||
or HTTPS URL, a canonical URL 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;
|
||
|
||
/**
|
||
JSON string of the map style to display. The JSON must conform to the
|
||
<a href="https://maplibre.org/maplibre-style-spec/">MapLibre Style Specification</a>.
|
||
Specify `nil` for the default style.
|
||
Ignored if `styleURL` is set to a non-nil value.
|
||
*/
|
||
|
||
@property (nonatomic, nullable) NSString *styleJSON;
|
||
|
||
/**
|
||
Action journal options
|
||
*/
|
||
@property (nonatomic, nonnull) MLNActionJournalOptions *actionJournalOptions;
|
||
|
||
/**
|
||
List of plugin classes
|
||
*/
|
||
@property NSArray *pluginLayers;
|
||
|
||
/**
|
||
Enable FastPFOR decoding for vector tiles. Defaults to `NO`.
|
||
*/
|
||
@property bool fastPFOREnabled;
|
||
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|