MBMMapLoaded


@interface MBMMapLoaded : NSObject

The style has been fully loaded, and the map has rendered all visible tiles. The event will be emitted only once for the current style. If it is required to observe an event where all required resources are loaded or rendered, please check the following events: MapIdle, StyleDataLoaded, and RenderFrameFinished.

  • 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)initWithTimeInterval:(nonnull MBMEventTimeInterval *)timeInterval;

    Swift

    init(timeInterval: MBMEventTimeInterval)
  • The timeInterval.begin represents the time when a style is set, and the timeInterval.end is taken when the map is fully loaded.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) MBMEventTimeInterval *timeInterval;

    Swift

    var timeInterval: MBMEventTimeInterval { get }