I would probably have written your iconConstructer

function iconConstructor(image, shadow, imageWidth, imageHeight,
shadowWidth, shadowHeight, iconAnchorX, iconAnchorY,
infoWindowAnchorX, infoWindowAnchorY){
  var myicon = new GIcon(G_DEFAULT_ICON);
  myicon.image=image;
  myicon.iconSize=new GSize(imageWidth, imageHeight);
  myicon.shadow=shadow;
  myicon.shadowSize=new GSize(shadowWidth, shadowHeight);
  myicon.iconAnchor=new GPoint(iconAnchorX, iconAnchorY);
  myicon.infoWindowAnchor =new GPoint(infoWindowAnchorX,
infoWindowAnchorY);
  return myicon;
}

Whether it makes any difference I don't know.

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