userLocation(followsHeading:fallback:)
Creates a camera position with the specific fallback position and optionally follows the user’s heading.
Declaration
static func userLocation(followsHeading: Bool = false, fallback: MapCameraPosition) -> MapCameraPositionParameters
- followsHeading:
A Boolean value that indicates whether the camera follows the person’s heading.
- fallback:
A fallback position to use if the map hasn’t resolved the person’s location.
Return Value
A new MapCameraPosition.