MGLHillshadeIlluminationAnchor
enum MGLHillshadeIlluminationAnchor {}
Direction of light source when map is rotated.
Values of this type are used in the MGLHillshadeStyleLayer.hillshadeIlluminationAnchor
property.
-
The hillshade illumination is relative to the north direction.
Declaration
Objective-C
MGLHillshadeIlluminationAnchorMap
Swift
case map = 0
-
The hillshade illumination is relative to the top of the viewport.
Declaration
Objective-C
MGLHillshadeIlluminationAnchorViewport
Swift
case viewport = 1