-
anchor
Whether extruded geometries are lit relative to the map or viewport.This property corresponds to the
anchor
light property in the Mapbox Style Specification.Declaration
Objective-C
@property (assign, readwrite, nonatomic) MGLStyleValue<NSValue *> *_Nonnull anchor;
Swift
var anchor: MGLStyleValue
-
Values describing animated transitions to
anchor
property.Declaration
Objective-C
@property (assign, readwrite, nonatomic) MGLTransition anchorTransition;
Swift
var anchorTransition: MGLTransition { get set }
-
Position of the light source relative to lit (extruded) geometries.
This property corresponds to the
position
light property in the Mapbox Style Specification.Declaration
Objective-C
@property (assign, readwrite, nonatomic) MGLStyleValue<NSValue *> *_Nonnull position;
Swift
var position: MGLStyleValue
-
Values describing animated transitions to
position
property.Declaration
Objective-C
@property (assign, readwrite, nonatomic) MGLTransition positionTransiton;
Swift
var positionTransiton: MGLTransition { get set }
-
Color tint for lighting extruded geometries.
This property corresponds to the
color
light property in the Mapbox Style Specification.Declaration
Objective-C
@property (assign, readwrite, nonatomic) MGLStyleValue<UIColor *> *_Nonnull color;
Swift
var color: MGLStyleValue
-
Values describing animated transitions to
color
property.Declaration
Objective-C
@property (assign, readwrite, nonatomic) MGLTransition colorTransiton;
Swift
var colorTransiton: MGLTransition { get set }
-
Intensity of lighting (on a scale from 0 to 1). Higher numbers will present as more extreme contrast.
This property corresponds to the
intensity
light property in the Mapbox Style Specification.Declaration
Objective-C
@property (assign, readwrite, nonatomic) MGLStyleValue<NSNumber *> *_Nonnull intensity;
Swift
var intensity: MGLStyleValue
-
Values describing animated transitions to
intensity
property.Declaration
Objective-C
@property (assign, readwrite, nonatomic) MGLTransition intensityTransition;
Swift
var intensityTransition: MGLTransition { get set }