map_launcher
map_launcher copied to clipboard
[IOS][Google Map] showDirections is not showing the route screen
Hello,
When using showDirections
with waypoints:
await MapLauncher.showDirections(
mapType: map,
destination: Coords(
coords.latitude,
coords.longitude,
),
waypoints: waypoints
?.mapIndexed(
(index, item) => Waypoint(
item.latitude,
item.longitude,
'Location ${index + 1}',
),
)
.toList() ??
[],
);
The route is not showing directly on IOS, instead this screen will be showing:
However, on Android it will show the directions screen directly:
I am not sure why it behaves different on IOS.