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.

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) ?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

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/maps?q=LocationName@-25.454435,-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

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

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 :)

share|improve this answer
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.