NavigationOptions class
Constructors
-
NavigationOptions({required String apiKey, required LatLng origin, required LatLng destination, List<Waypoint> intermediates = const [], String mode = 'driving', String language = 'pt-BR', bool voiceGuidance = true, double cameraZoom = 17, double cameraTilt = 45, bool followBearing = true, bool useDeviceHeading = true, double lowSpeedAutoRotateKmh = 3.0, double headingFilterAlpha = 0.25, double voiceAheadDistanceMeters = 60, List<double> approachSpeakMeters = const [400, 150, 30, 10], double arrivalThresholdMeters = 25, double offRouteThresholdMeters = 50, Duration minTimeBetweenReroutes = const Duration(seconds: 12), double ttsRate = 0.95, double ttsPitch = 1.0, String? ttsVoice, bool interruptOnNewInstruction = true, bool androidRequestAudioFocus = true, bool iosDuckOthers = true, bool speedAlertsEnabled = false, double? speedLimitKmh, SpeedLimitProvider? speedLimitProvider, bool snapToRoute = true, double mapMatchingToleranceMeters = 30, bool rerouteOnOffRoute = true, bool useRoutesV2 = false, double? simulationSpeedKmh, Color? routeColor, double routeWidth = 6, bool showVehicleMarker = false, String vehicleMarkerId = 'gmns_vehicle', String? vehicleIconUrl, double vehicleIconAnchorU = 0.5, double vehicleIconAnchorV = 0.62, double vehicleIconDp = 48, VehicleRotationSource vehicleRotationSource = VehicleRotationSource.course})
-
const
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited