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?
答案 0 :(得分:10)
我在Android上遇到了同样的问题,我从这个链接切换了它:
("https://www.google.com/maps?daddr="+address, _blank);
到这一个:
("https://maps.google.com/maps?daddr="+address, _blank);