MBMSourceQueryOptions


@interface MBMSourceQueryOptions : NSObject

Options for querying source features.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init NS_UNAVAILABLE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)new NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSourceLayerIds:(nullable NSArray<NSString *> *)sourceLayerIds
                                            filter:(nonnull id)filter;

    Swift

    init(sourceLayerIds: [String]?, filter: Any)
  • Source layer IDs to include in the query.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSArray<NSString *> *sourceLayerIds;

    Swift

    var sourceLayerIds: [String]? { get }
  • Filters the returned features with an expression

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) id filter;

    Swift

    var filter: Any { get }