# 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

  View Source on GitHub
- `MGLHillshadeIlluminationAnchorViewport`

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

  #### Declaration

  Objective-C

      MGLHillshadeIlluminationAnchorViewport

  Swift

      case viewport = 1

  View Source on GitHub