1

When I search a latitude and longitude in Google Maps like:

https://maps.google.com/maps?q=-25.454435,-49.33136

It always return me the locations nearby with those ["A", "B", ... ] pins:

enter image description here

Is there any way of getting only the green pointer created by the q parameter and hide everything else (using some other URL parameter, perhaps) ?

2 Answers 2

4

Put loc: in front of the coordinate, like this -

https://maps.google.com/maps?q=loc:-25.454435,-49.33136

Here's what you get -

enter image description here

When you don't use loc:, Google shows the nearest possible place for the convenience of the user as it's a random point. But when you're using loc: Google knows that you are looking for just the location of the point, nothing else.

Update:

If you want to show a info bubble on that certain coordinate, you can also do it this way -

https://maps.google.com/[email protected],-49.33136&iwloc=A

Here it'll point to that certain location with a red marker A and you can set information about it inside a info window + with iwloc, you can say that it needs to show the info to the red bubble marked A. Output -

enter image description here

7
  • Cool! As it's a baloon marker, can I add the description for this loc thing in the URL? Sep 16, 2012 at 23:00
  • @ViniciusMassuchetto yes you can. Updated the answer. :)
    – Bibhas
    Sep 17, 2012 at 7:25
  • Thanks! Awesome! Just wondering again if I can now add multiple balloons using only the URL. Sep 19, 2012 at 16:46
  • Search for a string that has multiple matching location? :P
    – Bibhas
    Sep 19, 2012 at 18:57
  • Yeah, sort of. I want to put multiple markers with balloons in the map. Sep 19, 2012 at 22:49
0

If you search your location using http://www.hamstermap.com/quickmap.php you will get the location back without any marker displayed.
The primary function of the website is to put multiple markers on the map, however the location search works exactly the way you need it :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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