MGLLightAnchor
enum MGLLightAnchor : NSUInteger {}
Whether extruded geometries are lit relative to the map or viewport.
-
The position of the light source is aligned to the rotation of the map.
Declaration
Objective-C
MGLLightAnchorMap
Swift
case map = 0
-
The position of the light source is aligned to the rotation of the viewport.
Declaration
Objective-C
MGLLightAnchorViewport
Swift
case viewport = 1