-
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 moreSee also
Mapbox Style SpecificationDeclaration
Swift
public struct AmbientLight : Codable, StyleEncodable -
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 moreSee also
Mapbox Style SpecificationDeclaration
Swift
public struct DirectionalLight : Codable, StyleEncodable -
A global directional light source which is only applied on 3D layers and hillshade layers. Using this type disables other light sources.
See moreSee also
Mapbox Style SpecificationDeclaration
Swift
public struct FlatLight : Codable, StyleEncodable -
Supported light types
See moreDeclaration
Swift
public struct LightType : RawRepresentable, Codable -
Information about a light
See moreDeclaration
Swift
public struct LightInfo
Lights Reference