mattermoran / map_launcher

Flutter plugin for launching maps
MIT License
261 stars 117 forks source link

Yandex destination and origin is wrong #68

Closed mrxten closed 3 years ago

mrxten commented 3 years ago

If I dont specify origin for Yandex, then destination set up as origin in map

mattermoran commented 3 years ago

Just re-checked the documentation and it seems that origin is required and it won't work without it for Yandex maps. docs

For now, you could get the user location in flutter and pass it to origin or if there's no location, call showMarker instead.

I might handle this in showDirections method where it would check for maps that have origin required it would just launch with marker

mrxten commented 3 years ago

Ok, thanks