thanks for getting back to me again.

actually the setImage isn't the problem, because the URL is fine.

the issue is trying to change the size after the fact.  im gonna try
the getIcon() method and see if i can replace the GSize

..wish me luck  (o/w ill have to req width be set..argh)


j

On Aug 20, 12:31 pm, Rossko <[email protected]> wrote:
> > My problem is that my createMarker() method is supposed to return a
> > GIcon so another object can add it to the map.  If I fire some event
> > then I can't return the marker.  I tried returning the marker anyway,
> > but I think Google Maps is doing something so that I can't change the
> > icon.
>
> I'm sure you're right.  I'd take the existence of a special method
>      http://code.google.com/apis/maps/documentation/reference.html#GMarker...
> to alter a markers main image after it has been created, as an
> indication that the GMarker takes a 'snapshot' of a GIcon when the
> marker is created, and subsequent changes to the GIcon won't affect
> the GMarker.
>
> Unless you want to delve into undocumented properties, I think you'll
> have to find an event-driven way of creating your marker GIcons.
>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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