Reading again, perhaps > Is possible set the icon after istantiate the Gicon ? means Is it possible to change the GMarkers icon after instanstiating it ?
Strictly, no. The GMarker takes a copy of the properties of the GIcon (or the default icon) when it is instantiated. Changing the selected GIcon properties after it has been used in 'new GMarker' won't alter the marker's icon. The GMarker does have a method setImage which can be used only to change the primary image - not the shadow, anchor, size etc. The GMarker has no setIcon. http://code.google.com/apis/maps/documentation/reference.html#GMarker --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
