ViewportDataSourceType
public enum ViewportDataSourceType
Possible types of location related updates NavigationViewportDataSource
can track.
ViewportDataSourceType
can also be used in custom implementations of classes, which conform to
ViewportDataSource
.
-
If
.raw
type is specifiedNavigationViewportDataSource
will registerLocationConsumer
provided by Maps SDK to be able to continuously get location updates from it.Declaration
Swift
case raw
-
If
.passive
type is specifiedNavigationViewportDataSource
will track location updates (snapped to road) during free drive navigation by subscribing toNotification.Name.passiveLocationManagerDidUpdate
notifications.Declaration
Swift
case passive
-
If
.active
type is specifiedNavigationViewportDataSource
will track location updates (snapped to road) during active guidance navigation by subscribing toNotification.Name.routeControllerProgressDidChange
notifications.Declaration
Swift
case active