3

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

5

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.

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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