MapboxMaps Docs Mapbox Maps SDK for iOS Reference (v11.0.0-beta.5) (93% documented)

MapboxMaps Reference Lights Reference
  • MapView
    • MapView
    • – SnapshotError
    • MapInitOptions
    • MapInitOptionsProvider
    • MapOptions
    • GlyphsRasterizationOptions
    • AttributionURLOpener
  • Snapshotter
    • Snapshotter
    • – SnapshotError
    • MapSnapshotOptions
    • SnapshotOverlay
    • SnapshotOverlayHandler
  • MapboxMap
    • MapboxMap
    • CameraState
    • CameraOptions
    • CameraBounds
    • CameraBoundsOptions
    • CoordinateBounds
    • RenderedQueryOptions
    • QueriedFeature
    • FeatureExtensionValue
    • MapError
    • MapLoadingError
  • Style
    • StyleURI
    • LayerPosition
    • TransitionOptions
    • Terrain
    • StyleDecodable
    • StyleEncodable
    • StyleError
    • TypeConversionError
  • Lights
    • AmbientLight
    • DirectionalLight
    • FlatLight
    • LightType
    • LightInfo
  • Sources
    • Source
    • SourceType
    • SourceInfo
    • GeoJSONSource
    • GeoJSONSourceData
    • ImageSource
    • RasterDemSource
    • RasterSource
    • VectorSource
    • PromoteId
    • Scheme
    • Encoding
  • Layers
    • Layer
    • LayerType
    • LayerInfo
    • BackgroundLayer
    • CircleLayer
    • FillExtrusionLayer
    • FillLayer
    • HeatmapLayer
    • HillshadeLayer
    • LineLayer
    • LocationIndicatorLayer
    • RasterLayer
    • SkyLayer
    • SymbolLayer
    • ModelLayer
  • Layer Property Values
    • Value
    • Anchor
    • CirclePitchAlignment
    • CirclePitchScale
    • CircleTranslateAnchor
    • FillExtrusionTranslateAnchor
    • FillTranslateAnchor
    • HillshadeIlluminationAnchor
    • IconAnchor
    • IconPitchAlignment
    • IconRotationAlignment
    • IconTextFit
    • IconTranslateAnchor
    • LineCap
    • LineJoin
    • LineTranslateAnchor
    • RasterResampling
    • ResolvedImage
    • ResolvedImageData
    • SkyType
    • ModelType
    • StyleColor
    • StyleTransition
    • SymbolPlacement
    • SymbolZOrder
    • TextAnchor
    • TextJustify
    • TextPitchAlignment
    • TextRotationAlignment
    • TextTransform
    • TextTranslateAnchor
    • TextWritingMode
    • Visibility
  • Expressions
    • Expression
    • – Element
    • – Argument
    • – Operator
    • – Option
    • Exp
    • FormatOptions
    • NumberFormatOptions
    • CollatorOptions
  • Annotations
    • AnnotationOrchestrator
    • AnnotationInteractionDelegate
    • Annotation
    • AnnotationManager
    • CircleAnnotation
    • CircleAnnotationManager
    • PointAnnotation
    • – Image
    • PointAnnotationManager
    • PolygonAnnotation
    • PolygonAnnotationManager
    • PolylineAnnotation
    • PolylineAnnotationManager
    • ClusterOptions
  • View Annotations
    • ViewAnnotationManager
    • ViewAnnotationUpdateObserver
    • ViewAnnotationOptions
    • ViewAnnotationManagerError
  • Camera Animations
    • CameraAnimationsManager
    • CameraAnimator
    • BasicCameraAnimator
    • CameraTransition
    • – Change
    • FlyToCameraAnimator
    • AnimationCompletion
    • AnimationOwner
  • Ornaments
    • OrnamentsManager
    • OrnamentOptions
    • OrnamentPosition
    • OrnamentVisibility
    • AttributionButtonOptions
    • CompassViewOptions
    • LogoViewOptions
    • ScaleBarViewOptions
  • Gestures
    • GestureManager
    • GestureOptions
    • PanMode
    • GestureManagerDelegate
    • GestureType
  • Location
    • LocationManager
    • LocationOptions
    • PuckType
    • Puck2DConfiguration
    • – Pulsing
    • Puck3DConfiguration
    • Model
    • AppleLocationProvider
    • – Options
  • Viewport
    • Viewport
    • – OverviewOptions
    • – FollowPuckOptions
    • – InsetOptions
    • ViewportOptions
    • ViewportStatus
    • ViewportStatusObserver
    • ViewportStatusChangeReason
    • ViewportState
    • FollowPuckViewportState
    • FollowPuckViewportStateOptions
    • FollowPuckViewportStateBearing
    • OverviewViewportState
    • OverviewViewportStateOptions
    • ViewportTransition
    • DefaultViewportTransition
    • DefaultViewportTransitionOptions
    • ImmediateViewportTransition
  • Offline
    • OfflineManager
    • OfflineRegionGeometryDefinition
    • OfflineSwitch
    • StylePackError
    • StylePackLoadOptions
    • TileRegionError
    • TileRegionLoadOptions
    • TilesetDescriptorOptions
    • TileStore
    • TileStoreObserver
  • GeoJSON
    • Feature
    • Geometry
  • Utilities
    • CompassDirectionFormatter
    • – Style
    • Projection
  • Other Classes
    • AnyCancelable
    • MapRecorder
    • StyleManager
    • ViewportManager
  • Other Enumerations
    • MapboxMapsOptions
    • PuckBearing
  • Other Extensions
    • AnyCancellable
    • AppKit
    • CameraChanged
    • FreeCameraOptions
    • Publisher
    • RequestInfo
    • SourceDataLoaded
  • Other Functions
    • withViewportAnimation(_:body:completion:)
  • Other Protocols
    • AppleLocationProviderDelegate
    • HeadingObserver
    • HeadingProvider
    • MapContent
    • MapViewMetricsReporter
  • Other Structures
    • Atmosphere
    • CircleAnnotationGroup
    • CustomLayer
    • ForEvery
    • Heading
    • Map
    • – Coordinator
    • MapContentBuilder
    • MapContentGestureContext
    • MapEventType
    • MapPlayerOptions
    • MapProxy
    • MapReader
    • MapRecorderOptions
    • MapStyle
    • MapViewDebugOptions
    • ModelScaleMode
    • PointAnnotationGroup
    • PolygonAnnotationGroup
    • PolylineAnnotationGroup
    • Puck2D
    • Puck3D
    • PuckRenderingData
    • Signal
    • StandardLightPreset
    • StyleImportConfiguration
    • StyleProjection
    • StyleProjectionName
    • TileCoverOptions
    • Tracing
    • ViewAnnotation
    • ViewportAnimation
  • Other Type Aliases
    • LocationUpdateAction
    • MapLayerGestureHandler
    • MapURLOpener

Lights

  • AmbientLight

    An indirect light affecting all objects in the map adding a constant amount of light on them. It has no explicit direction and cannot cast shadows.

    See also

    Mapbox Style Specification
    See more

    Declaration

    Swift

    public struct AmbientLight : Codable, StyleEncodable
  • DirectionalLight

    A light that has a direction and is located at infinite, so its rays are parallel. Simulates the sun light and it can cast shadows

    See also

    Mapbox Style Specification
    See more

    Declaration

    Swift

    public struct DirectionalLight : Codable, StyleEncodable
  • FlatLight

    A global directional light source which is only applied on 3D layers and hillshade layers. Using this type disables other light sources.

    See also

    Mapbox Style Specification
    See more

    Declaration

    Swift

    public struct FlatLight : Codable, StyleEncodable
  • LightType

    Supported light types

    See more

    Declaration

    Swift

    public struct LightType : RawRepresentable, Codable
  • LightInfo

    Information about a light

    See more

    Declaration

    Swift

    public struct LightInfo

© 2023 Mapbox. All rights reserved. (Last updated: 2023-10-09)

Generated by jazzy ♪♫ v0.14.2, a Realm project.