iOS SDK

API Reference

On This Page

MGLOrnamentVisibility

enum MGLOrnamentVisibility {}

Constants indicating the visibility of different map ornaments.

MGLOrnamentVisibilityAdaptive

A constant indicating that the ornament adapts to the current map state.

Declaration

Objective-C

MGLOrnamentVisibilityAdaptive

Swift

case adaptive = 0

MGLOrnamentVisibilityHidden

A constant indicating that the ornament is always hidden.

Declaration

Objective-C

MGLOrnamentVisibilityHidden

Swift

case hidden = 1

MGLOrnamentVisibilityVisible

A constant indicating that the ornament is always visible.

Declaration

Objective-C

MGLOrnamentVisibilityVisible

Swift

case visible = 2