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 am using Google Maps to show the user location based on the latitude and longitude passed in the query. It shows fine with a green arrow. But the map also shows a letter pin with the nearest road/address.

How do I hide the letter pin and ensure only the green arrow is shown? The URL I use is:

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

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

Found the solution, might help someone else.

Using this url: http://maps.google.com/maps?q=loc:latitude,longitude

will ensure the letter pin only shows at this location and does not find the nearest road/address.

Thanks.

share|improve this answer
    
Hi @lostInTransit - it's fine to self-answer your own question. You should mark your answer as the accepted one. –  Ciaran Aug 6 '11 at 8:14
    
I have to wait for some time before I can do that (SE policies!). So can't right now. –  lostInTransit Aug 6 '11 at 10:24
add comment

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.