Extensions
The following extensions are available globally.
-
Declaration
Swift
extension MapboxCoreMaps.CameraState
-
Declaration
Swift
extension MapboxCommon.Cancelable: Cancelable
-
Declaration
Swift
extension CacheManager
-
Declaration
Swift
public extension CoordinateBounds
-
Declaration
Swift
extension GlyphsRasterizationOptions
-
Declaration
Swift
extension HttpRequestError: LocalizedError
-
Declaration
Swift
extension HttpResponse
-
Declaration
Swift
extension MapboxCoreMaps.LayerPosition
-
List of supported event types by the MapView and Snapshotter objects, and event data format specification for each event.
Simplified diagram for events emitted by the Map object.
┌─────────────┐ ┌─────────┐ ┌──────────────┐ │ Application │ │ Map │ │ResourceLoader│ └──────┬──────┘ └────┬────┘ └───────┬──────┘ │ │ │ ├───────setStyleURI────────▶│ │ │ ├───────────get style───────────▶│ │ │ │ │ │◀─────────style data────────────┤ │ │ │ │ ├─parse style─┐ │ │ │ │ │ │ StyleDataLoaded ◀─────────────┘ │ │◀────{“type”: “style”}─────┤ │ │ ├─────────get sprite────────────▶│ │ │ │ │ │◀────────sprite data────────────┤ │ │ │ │ ├──────parse sprite───────┐ │ │ │ │ │ │ StyleDataLoaded ◀─────────────────────────┘ │ │◀───{“type”: “sprite”}─────┤ │ │ ├─────get source TileJSON(s)────▶│ │ │ │ │ SourceDataLoaded │◀─────parse TileJSON data───────┤ │◀──{“type”: “metadata”}────┤ │ │ │ │ │ │ │ │ StyleDataLoaded │ │ │◀───{“type”: “sources”}────┤ │ │ ├──────────get tiles────────────▶│ │ │ │ │◀───────StyleLoaded────────┤ │ │ │ │ │ SourceDataLoaded │◀─────────tile data─────────────┤ │◀────{“type”: “tile”}──────┤ │ │ │ │ │ │ │ │◀────RenderFrameStarted────┤ │ │ ├─────render─────┐ │ │ │ │ │ │ ◀────────────────┘ │ │◀───RenderFrameFinished────┤ │ │ ├──render, all tiles loaded──┐ │ │ │ │ │ │ ◀────────────────────────────┘ │ │◀────────MapLoaded─────────┤ │ │ │ │ │ │ │ │◀─────────MapIdle──────────┤ │ │ ┌ ─── ─┴─ ─── ┐ │ │ │ offline │ │ │ └ ─── ─┬─ ─── ┘ │ │ │ │ ├─────────setCamera────────▶│ │ │ ├───────────get tiles───────────▶│ │ │ │ │ │┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ │ │◀─────────MapIdle──────────┤ waiting for connectivity │ │ │ ││ Map renders cached data │ │ │ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ │ │ │ │
See moreDeclaration
Swift
public extension MapEvents
-
Declaration
Swift
extension MapboxCoreMaps.MapOptions
-
Declaration
Swift
extension MapSnapshotOptions
-
Declaration
Swift
extension OfflineRegionManager
-
Declaration
Swift
extension MapboxCoreMaps.OfflineManager
-
Declaration
Swift
extension StylePackLoadOptions
-
Declaration
Swift
extension TileRegionLoadOptions
-
Declaration
Swift
extension TileStore
-
Declaration
Swift
extension TilesetDescriptorOptions
-
Declaration
Swift
extension UIColor: ExpressionArgumentConvertible
-
Declaration
Swift
extension Int: ExpressionArgumentConvertible
-
Declaration
Swift
extension UInt: ExpressionArgumentConvertible
-
Declaration
Swift
extension Double: ExpressionArgumentConvertible
-
Declaration
Swift
extension String: ExpressionArgumentConvertible
-
Declaration
Swift
extension Bool: ExpressionArgumentConvertible
-
Declaration
Swift
extension Array: ExpressionArgumentConvertible
-
Declaration
Swift
extension Dictionary: ExpressionArgumentConvertible where Key == Double, Value: ExpressionArgumentConvertible