How can I create Google Maps links based on coordinates? Their new basic share urls contain a lot of parameters, for example:
Any ideas? Not looking to embed but just to create external links that can be shared.
How can I create Google Maps links based on coordinates? Their new basic share urls contain a lot of parameters, for example:
Any ideas? Not looking to embed but just to create external links that can be shared.
Why not https://www.google.com/maps/place/lat,lng
I think this is the simplest way
https://www.google.com/maps/place/49.46800006494457,17.11514008755796
The currently accepted answer ends up adding an additional history entry in browsers at the moment as Google Maps redirects to a different URL format.
To avoid that extra entry in the browser's history, use the official Maps API url:
https://www.google.com/maps/search/?api=1&query=latitude,longitude
This will display a marker at the latitude, longitude location as well.
If you only want to center the map (and not display a marker), use the map action:
https://www.google.com/maps/@?api=1&map_action=map¢er=latitude,longitude
&zoom=<zoom level>
to the map action as shown in the last example (i.e. after center=...
. –
Turbo /place/
url which require you to format one set of the coordinates in degrees/minute/seconds format as far as I can tell: google.com/maps/place/… –
Turbo According to another answer, you can use following url
http://maps.google.com/maps?q=24.197611,120.780512
to show a pin.
Syntax:
https://www.google.com/maps/@{lat},{long},{zoom}z
Example:
The simple and best way is to use as follows:-
https://maps.google.com/?q=LATITUDE-VALUE,LONGITUDE-VALUE
© 2022 - 2024 — McMap. All rights reserved.