Hi Mike.  I had thought of that, but was puzzled about the initial
setImage working correctly outside of the event handler.  In other
words, when the map is initialized, all markers are the 20x34 default
and then the first marker uses setImage to install the 32x32 yellow
marker.  And that works fine!

So we do see one instance of the yellow marker working correctly.
Subsequent ones do not.

My assumption was that setImage always readjusts the icon.size, but
that is apparently wrong.  Possibly it does it only within the
initialization phase, which would explain the initial yellow marker
being fine, and the latter ones not.

On Oct 2, 11:56 pm, Mike Williams <[EMAIL PROTECTED]> wrote:
> GMarker.setImage() only changes the image. It doesn't change the
> icon.size
>
> The icon.size ofhttp://backspaces.net/temp/selectedmarker.pngis 32x32
>
> The icon.size ofhttp://maps.google.com/intl/en_ALL/mapfiles/marker.png
> is 20x34
>
> The quick fix is to obtain the corresponding 32x32 red marker 
> fromhttp://www.mymapsplus.com/Markers
> and use that instead of the default marker.
>
> A better long term solution is to add your star to this enhancement
> request:http://code.google.com/p/gmaps-api-issues/issues/detail?id=11
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to