Files
MapLibreParticleLab/platform/darwin/src/MLNMapOptions.h
Tim Sylvester 247c776d26 Enable FastPFOR encodings in MLT (#4146)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2026-07-14 12:31:41 -07:00

48 lines
1.1 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#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