Hi guys.
Is possible set the icon after istantiate the Gicon ?
Like this code:
G.marker = new GMarker(point, { draggable: true } ); //AFTER
THIS.
G.icon = new GIcon();
G.icon.image = "/met/icons/"+i+".png";
G.icon.iconAnchor = new GPoint(16, 16);
G.icon.shadow = "/met/icons/"+i+"-shadow.png";
G.icon.shadowSize = new GSize(59, 32);
G.icon.iconSize = new GSize(32, 32);
G.marker.setIcon(G.icon); //LIKE THIS.
Thanks Thousands.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---