How to open a mobile device's map app when a user clicks on a link?

前端 未结 7 1926
南旧
南旧 2020-12-23 01:56

I have a web app where if a user clicks on a link it should open up a map. The best solution that I can think of is to open up a new tab/window to google maps using the

7条回答
  •  隐瞒了意图╮
    2020-12-23 02:51

    In 2020 use these subdomains : https://maps.app.goo.gl/pQAhDLJDNaYQJ9Np7

    You can get it from your Maps app when you share the place.

    Works on browser/Android/Iphone

提交回复
热议问题