LocationPreviewViewModel
@MainActor
public final class LocationPreviewViewModel : ObservableObject
Important
This is a Public Preview API. It may be changed or removed at any time.-
Declaration
Swift
public init( geocoder: TomTomSDKReverseGeocoder.ReverseGeocoder?, startCoordinate: CLLocationCoordinate2D, destinationCoordinate: CLLocationCoordinate2D, unitsSystem: UnitsSystem = Locale.current.unitSystem )
-
Declaration
Swift
public func updateDestination(newDestination: CLLocationCoordinate2D)