Open autosoft-co opened 4 years ago
Found a fix.
Instead of passing GeoCoord
s to addDirection. You can pass LatLng string like below.
final latLng = "$lat,$lng";
Another way to fix it is using a String "lat,long", in case someone is having the same error and don't want to use latLng.
When I try to add direction to map. It fails with below error.
Here is my code.
It's works fine on web.
Error log