How do I link to Google Maps with a particular longitude and latitude?

前端 未结 15 2388
夕颜
夕颜 2020-12-02 04:49

I have a small application that gives the current location: longitude and latitude. Now I have to browse to google maps with the longitude and latitude. Please suggest how I

15条回答
  •  醉酒成梦
    2020-12-02 05:12

    If you want to open Google Maps in a browser:

    http://maps.google.com/?q=,

    To open the Google Maps app on an iOS mobile device, use the Google Maps URL Scheme:

    comgooglemaps://?q=,

    To open the Google Maps app on Android, use the geo: intent:

    geo:,?z=

提交回复
热议问题