Barjas Barjas - 1 month ago 14
iOS Question

Google Map app fails to open web link on mobile devices

i have this link in a web page:

https://www.google.com/maps?saddr=Current+Location&daddr=-27.360198,153.017331


it works fine on desktop, but on mobile, i get redirected to google map app and it displayes "unsupported link"

any idea?

ste ste
Answer

I had the same problem on Android, I solved it switching from this link:

("https://www.google.com/maps?daddr="+address, _blank);

to this one:

("https://maps.google.com/maps?daddr="+address, _blank);
Comments