views:

2580

answers:

1

I know I can do it with the Google Maps API, but do you know if there is a way to change the marker in an embedded Google Map?

I want to replace the default "A" button for a "B" button (http://is.gd/1JLxk) or the one with just a dot in the middle (http://is.gd/1JLvH).

Thanks in advance!

+2  A: 

I haven't played around with embedding Google Maps before (I generally go straight to the API for stuff like this). I tried a couple of approaches:

  • I figured maybe the embed syntax would be the same as the static maps api. So I grabbed a static maps URL, copied the markers param from that and tried sticking it into the iFrame URL. This didn't work so much.

  • I created a Google MyMap and customized the marker to use the one your provided. This created a Test map which had the appropriate marker icon. I then grabbed the embed code and stuck it on a test page and voila!

Cannonade
woow! ingenious! and it works for my project :)thanks for trying different ideas and even building demos!!
ana
Glad to hear that my solution was appropriate for your project :).
Cannonade