MBMStyleLoaded
@interface MBMStyleLoaded : NSObject
The requested style has been fully loaded, including specified sprite, and sources’ metadata.
Note: The style specified sprite would be marked as loaded even with a sprite loading error
(an error will be emitted via MapLoadingError
). Sprite loading error is not fatal, and
won’t block the map rendering; thus, the event will still be emitted if the
style and sources are fully loaded.
-
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
is when the style begins loading, and thetimeInterval.end
is when the style is loaded.Declaration
Objective-C
@property (nonatomic, readonly, nonnull) MBMEventTimeInterval *timeInterval;
Swift
var timeInterval: MBMEventTimeInterval { get }