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
UserPuckCourseViewandUserHaloCourseViewbased 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 providePuck2DConfigurationto configure the puck’s appearance.Declaration
Swift
case puck2D(configuration: Puck2DConfiguration? = nil) -
A 3-dimensional puck from
MapboxMaps. It’s required to provide aPuck3DConfigurationto configure the puck’s appearance.Declaration
Swift
case puck3D(configuration: Puck3DConfiguration)
Install in Dash
UserLocationStyle Enumeration Reference