addItineraryFromMapCenter method
- Coordinate coordinate, {
- bool avoidElevators = false,
- bool avoidEscalators = false,
- bool avoidStairs = false,
add itinerary from map center to the specified destination
Implementation
Future<void> addItineraryFromMapCenter(Coordinate coordinate,
{bool avoidElevators = false,
bool avoidEscalators = false,
bool avoidStairs = false}) async {
await _channel.invokeMethod('addItineraryFromMapCenter', {
"destination": coordinate.toMap(),
"avoidElevators": avoidElevators,
"avoidEscalators": avoidEscalators,
"avoidStairs": avoidStairs
});
}