Take the 2-minute tour ×

I was reading the static maps API, and it says you can include a custom marker in the GET params. You simply link to an image file.

I now have a second Google Map within an iframe, and was wondering if you can attach custom markers via the GET params to it? Here is the src attribute of the iframe currently.


I can't seem to find the documentation on how to do this, if possible.

Is this possible?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

As far as I know you cannot add custom marker icons on maps.google.com, but you should be able to add a marker with a custom label.

You may also be interested in checking out the following reference, which describes all the known parameters that can be passed to maps.google.com:

While this is not an official API, I think it is fair to say that these should be quite reliable, since they are the same parameters used for the permanent links in Google Maps.

On the other hand, you may want to consider using the Google Maps API instead. You will get all the capabilities you had with the Static Maps API (and more), and it will look pretty much the same as the iframe you are using right now.

share|improve this answer
That link is broken now :( –  Marcus Downing Oct 8 '12 at 14:53
add comment

Your Answer


