Google Map app fails to open web link on mobile devices
Asked Answered
F

1

8

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 the Google Maps app and it displays "Unsupported link"

Any idea?

Flagging answered 10/12, 2015 at 1:7 Comment(0)
B
12

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);
Bendite answered 30/3, 2016 at 13:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.