Redirect users to location on google map with coordinates

12,915

Solution 1

Yes, like http://maps.google.co.uk/maps?q=51.917168,-0.227051

Solution 2

You can pass parameters in URL with ?q=X,Y

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

Where 48.8583736 and 2.2922926 are the coordinates (of the Eiffel Tower!).

Share:
12,915
tommi
Author by

tommi

Software Engineer.

Updated on June 21, 2022

Comments

  • tommi
    tommi almost 2 years

    I've coordinates on a mobile web application. I'm trying to allow the user to click a button so the app will redirect the user to Google Maps with the coordinates.

    Can I simply pass in the coordinates as a query string to the google maps url?