Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I'm looking to create a link to a specific location using latitude and longitude for positioning, however I would also like to be able to add a marker onto the map as well, at the same location.

This is not using the Java or Static maps API, just want a link pointing at maps.google.com

share|improve this question

7 Answers 7

up vote 11 down vote accepted

It's very straightforward. Just use the following link, changing the latitude and longitude for yours. The z is the zoom index, you can play with it to get where you want.

http://maps.google.com/?ie=UTF8&hq=&ll=35.028028,-106.536655&z=13

I got this information by clicking on the "Link" button in the right hand corner above a map. This will also allow you to get the latitude and longitude for a location.

I don't know of a good way to make a marker on Google Maps, through the UI anyway. Right click on a point and select "What's Here?" to create a marker, but it will be to the closest thing (business, intersection, address, etc). This essentially performs a search with the latitude and longitude and returns whatever is closest to your search. A URL to do that would be:

http://maps.google.com/maps?q=35.128061,-106.535561&ll=35.126517,-106.535131&z=17

With the q (for query I believe) being the coordinates where you want your marker.

A more effective method, if you are trying to send a link to a specific address would be to search for the address in Google Maps, which will give you a marker on the exact address and then use the "Link" button to get the URL for sharing.

share|improve this answer
1  
Cool, is there any way to add a marker as well? –  Sean Taylor Jul 21 '10 at 20:11
    
The search method works perfectly for me, cheers! –  Sean Taylor Jul 21 '10 at 20:39
    
@sgriffinusa To get the long/lat quickly, enalbe "LatLng Marker" in your Google Maps Lab setting –  Nam G VU Feb 17 '12 at 3:46

as mentioned above, the link has to contain coordinates but can also contain description: http://maps.google.com/maps?q=description+(name)+%4046.090271,6.657248

In case you need to place multiple markers on the map, you will have to use some of the online tools, for example http://www.hamstermap.com and then choose QUICK MAP.

share|improve this answer
    
This solution fit my need the best! –  Mārtiņš Briedis Jun 27 '13 at 13:15

Here's how I do it.

I don't see why it would be so difficult for the Google Maps Team add a Get Link button, hopefully it will be implemented in the future.

share|improve this answer

To add a marker to a map, you can use the My Maps feature of Google Maps.

Follow the instructions in the link above to use My Maps. Add a marker for the location that you're interested in sharing, then click the Link button in the upper-right corner; that link can be used to bring someone directly to that location and will include the marker you placed there.

share|improve this answer

Try this (it will definitely work with a pointer to your location on map):

http://maps.google.com/maps?q=39.211374,-82.978277+(My+Point)&z=14&ll=39.211374,-82.978277
share|improve this answer

In the "new" google maps, select your location and then the cog-wheel icon in the bottom right. in the popup choose "Share and embed map".

That will tell you that you can simply copy the URL from the address bar. But it also gives you the option of a shortened URL.

share|improve this answer

Use online tools like linkonmap.com to generate in seconds a link to a full screen map pointing to your location and even show the shortest route to your address.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.