• Interface for managing style of the map.

    See more

    Declaration

    Objective-C

    
    @interface MBMStyleManager : MBMObservable

    Swift

    class StyleManager : Observable
  • Image type.

    See more

    Declaration

    Objective-C

    
    @interface MBMImage : NSObject

    Swift

    class Image : NSObject
  • Describes the image content, e.g. where text can be fit into an image.

    When sizing icons with icon-text-fit, the icon size will be adjusted so that the this content box fits exactly around the text.

    See more

    Declaration

    Objective-C

    
    @interface MBMImageContent : NSObject

    Swift

    class ImageContent : NSObject
  • Describes the image stretch areas.

    See more

    Declaration

    Objective-C

    
    @interface MBMImageStretches : NSObject

    Swift

    class ImageStretches : NSObject
  • Specifies position of a layer that is added via addStyleLayer method.

    See more

    Declaration

    Objective-C

    
    @interface MBMLayerPosition : NSObject

    Swift

    class LayerPosition : NSObject
  • Options for custom geometry tiles.

    See more

    Declaration

    Objective-C

    
    @interface MBMTileOptions : NSObject

    Swift

    class TileOptions : NSObject
  • Represents a tile coordinate.

    See more

    Declaration

    Objective-C

    
    @interface MBMCanonicalTileID : NSObject

    Swift

    class CanonicalTileID : NSObject
  • Options for custom geometry source.

    See more

    Declaration

    Objective-C

    
    @interface MBMCustomGeometrySourceOptions : NSObject

    Swift

    class CustomGeometrySourceOptions : NSObject
  • Holds a style property value with meta data.

    See more

    Declaration

    Objective-C

    
    @interface MBMStylePropertyValue : NSObject

    Swift

    class StylePropertyValue : NSObject
  • Describes the kind of a style property value.

    See more

    Declaration

    Objective-C

    enum MBMStylePropertyValueKind : NSInteger {}

    Swift

    enum StylePropertyValueKind : Int, @unchecked Sendable
  • Interface that provides access to elevation data.

    See more

    Declaration

    Objective-C

    @protocol MBMElevationData

    Swift

    protocol ElevationData
  • Note! This is an experimental feature. It can be changed or removed in future versions.

    CustomLayerHost declares, by returning this from CustomLayerHost’s prerender, what kind of rendering it intends to do in the very next frame. If there is need for rendering to tile textures, declare if all tiles need to be re-rendered because e.g. underlying data changed.

    See more

    Declaration

    Objective-C

    
    @interface MBMCustomLayerRenderConfiguration : NSObject

    Swift

    class CustomLayerRenderConfiguration : NSObject
  • Parameters that define the current camera position for a CustomLayerHost::render() function.

    See more

    Declaration

    Objective-C

    
    @interface MBMCustomLayerRenderParameters : NSObject

    Swift

    class CustomLayerRenderParameters : NSObject
  • Interface for hosting a custom map style layer.

    See more

    Declaration

    Objective-C

    @protocol MBMCustomLayerHost <NSObject>

    Swift

    protocol CustomLayerHost : NSObjectProtocol
  • The information about style object (source or layer or light).

    See more

    Declaration

    Objective-C

    
    @interface MBMStyleObjectInfo : NSObject

    Swift

    class StyleObjectInfo : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MBMGeoJSONSourceData : NSObject
    
    // This class provides factory method which should be called
    - (nonnull instancetype)init NS_UNAVAILABLE;
    
    // This class provides factory method which should be called
    + (nonnull instancetype)new NS_UNAVAILABLE;
    
    + (nonnull instancetype)fromGeometry:(nonnull MBXGeometry *)value;
    + (nonnull instancetype)fromFeature:(nonnull MBXFeature *)value;
    + (nonnull instancetype)fromNSArray:(nonnull NSArray<MBXFeature *> *)value;
    + (nonnull instancetype)fromNSString:(nonnull NSString *)value;
    
    - (BOOL)isGeometry;
    - (BOOL)isFeature;
    - (BOOL)isNSArray;
    - (BOOL)isNSString;
    
    - (nonnull MBXGeometry *)getGeometry __attribute((ns_returns_retained));
    - (nonnull MBXFeature *)getFeature __attribute((ns_returns_retained));
    - (nonnull NSArray<MBXFeature *> *)getNSArray __attribute((ns_returns_retained));
    - (nonnull NSString *)getNSString __attribute((ns_returns_retained));
    
    @property (nonatomic, readonly) MBMGeoJSONSourceDataType type;
    
    @end

    Swift

    class GeoJSONSourceData : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, MBMGeoJSONSourceDataType)
    {
        MBMGeoJSONSourceDataTypeGeometry,
        MBMGeoJSONSourceDataTypeFeature,
        MBMGeoJSONSourceDataTypeNSArray,
        MBMGeoJSONSourceDataTypeNSString
    }

    Swift

    enum GeoJSONSourceDataType : Int, @unchecked Sendable
  • Interface for applying changes to the style runtime.

    See more

    Declaration

    Objective-C

    
    @interface MBMRuntimeStylingOptions : NSObject

    Swift

    class RuntimeStylingOptions : NSObject
  • Undocumented

    Declaration

    Objective-C

    NS_SWIFT_NAME(StyleManagerCallback)
    typedef void (^MBMStyleManagerCallback)(MBMStyleManager * _Nonnull styleManager)

    Swift

    typealias StyleManagerCallback = (MBMStyleManager) -> Void