MBMLayerPosition


@interface MBMLayerPosition : NSObject

Specifies position of a layer that is added via addStyleLayer method.

  • 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)initWithAbove:(nullable NSString *)above
                                    below:(nullable NSString *)below
                                       at:(nullable NSNumber *)at NS_REFINED_FOR_SWIFT;
  • Layer should be positioned above specified layer id.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *above;

    Swift

    var above: String? { get }
  • Layer should be positioned below specified layer id.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *below;

    Swift

    var below: String? { get }
  • at

    Layer should be positioned at specified index in a layers stack.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *at;