iOS SDK

API Reference

On This Page

MGLHillshadeIlluminationAnchor

enum MGLHillshadeIlluminationAnchor {}

Direction of light source when map is rotated.

Values of this type are used in the MGLHillshadeStyleLayer.hillshadeIlluminationAnchor property.

MGLHillshadeIlluminationAnchorMap

The hillshade illumination is relative to the north direction.

Declaration

Objective-C

MGLHillshadeIlluminationAnchorMap

Swift

case map = 0

MGLHillshadeIlluminationAnchorViewport

The hillshade illumination is relative to the top of the viewport.

Declaration

Objective-C

MGLHillshadeIlluminationAnchorViewport

Swift

case viewport = 1