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

前端 未结 15 2355
夕颜
夕颜 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

    To get your current location as start point you need to use this URL:

    https://www.google.com/maps/dir/?api=1&origin=Current+Location&destination=,
    

    You can fill up the destination parameter with the address, name or latitude and longitude values.

提交回复
热议问题