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

前端 未结 7 1969
南旧
南旧 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:33

    Yep, tags like data-type etc. did not work for me as well. I used direct link from Google (you can choose "share point" and it will give direct html which will point to the location).

    It will open google maps in browser.

提交回复
热议问题