Embedding Google maps - how to eliminate an unwanted marker?

If I insert a google map with the following (this is the src attribute for iframe):

http://maps.google.com/maps?q=37.421770,-122.08448&output=embed

There are two markers on the map: one with lat / long I passed (green arrow) and the second regular marker.

Is there a way to eliminate the 2nd marker?

+5
source share
3 answers

It looks like you are sending your coordinates in the request field.

It looks like you're looking for Google Maps for something near these coords. He seems to have found one and is giving you a search result next to your requested swords.

Removing the & embed parameter shows that this is true:

http://maps.google.com/maps?q=37.421770,-122.08448

API API- Google URL-, , . :

http://maps.google.com/maps/api/staticmap?zoom=14&size=512x512&maptype=roadmap&markers=color:blue|label:|37.421770,-122.08448&sensor=false

!

+5

loc: , : http://maps.google.com/maps?q=loc:37.421770,-122.08448&output=embed

+2

No, only if you use the Google Maps API instead of iframes.

+1
source

All Articles