Enumerations
The following enumerations are available globally.
-
Declaration
Swift
enum AltitudeModeextension AltitudeMode : Equatable, Hashable -
Represents various constraints that can be applied to the camera’s position or orientation.
Use these cases to define limits on camera properties like altitude, heading, tilt, or geographical bounds, often used to guide user interaction or enforce specific viewing perspectives within a map or scene view.
Declaration
Swift
enum CameraRestriction -
Declaration
Swift
enum CollisionBehaviorextension CollisionBehavior : Equatable, Hashable -
Orientation of map controls.
Declaration
Swift
enum MapControlOrientationextension MapControlOrientation : Equatable, Hashable, Sendable, SendableMetatype -
Positions for map controls.
Use
MapControlPositionto specify the location of controls added through themapControlsMap view modifier.Map(mode: .hybrid) .mapControls(at: .top) { CompassControl() }Declaration
Swift
enum MapControlPositionextension MapControlPosition : Equatable, Hashable, Sendable, SendableMetatype -
The different map modes that can be set when initializing a
Map.Declaration
Swift
enum MapModeextension MapMode : Copyable, Equatable, Escapable, Hashable -
Declaration
Swift
enum PathEncodingDimensionsextension PathEncodingDimensions : Copyable, Equatable, Escapable, Hashable, RawRepresentable -
Specify SDK behavior when a place tap event is received.
Declaration
Swift
enum PlaceTapActionextension PlaceTapAction : Copyable, Equatable, Escapable, Hashable