Hi ,      Could someone please provide inputs on how to change the icon size
dynamically using .SetImage()  .
The problem is I have a single image in my repository which has to be zoomed
and then displayed on mouseover.
I did the following :

1) Create a zoomed icon with large size. largeIcon.iconSize = new GSize(50,
50);
2) assign the URL of the same unzoomed image  largeIcon.image = "
http://www.google.com/mapfiles/markerA.png";;
3) But the problem lies here : marker.setImage(largeIcon.image); Here Marker
is the object that refers unzoomed version of the image.
i.e var marker = new GMarker(point, unzoomed_icon);
I am using 'marker'  as it does not take the marker created for the new
image.
var marker_new = new GMarker(point, zoomed_icon);

Kindly let me know how this is to be done.

Thanks,
Chaitra

--~--~---------~--~----~------------~-------~--~----~
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