UserLocationStyle
public enum UserLocationStyle
The style of the user location indicator in a NavigationMapView
.
-
The course view representing the user’s location and course on the map, switching between
UserPuckCourseView
andUserHaloCourseView
based on the level of location accuracy.Declaration
Swift
case courseView(_: UserCourseView = UserPuckCourseView(frame: CGRect(origin: .zero, size: 75.0)))
-
A 2-dimensional puck from
MapboxMaps
. Optionally providePuck2DConfiguration
to configure the puck’s appearance.Declaration
Swift
case puck2D(configuration: Puck2DConfiguration? = nil)
-
A 3-dimensional puck from
MapboxMaps
. It’s required to provide aPuck3DConfiguration
to configure the puck’s appearance.Declaration
Swift
case puck3D(configuration: Puck3DConfiguration)