IE7 was throwing an error when it found a console.log statement - it's
fine when I took that out - red face at this end!

On Feb 18, 3:46 pm, Alan C <[email protected]> wrote:
> Igloo,
> Thank you so much for your suggestion, yes, it does make a difference
> - the custom icons appear fine. My guess is that setting the new icon
> to the default sets all the appropriate attributes then the images etc
> get set to the appropriate new values, whereas the way I was doing it
> would leave many attributes undefined. It now works fine with FF and
> Safari on OS X and Win, but IE7 is a problem, I guess that will be
> something to do with the characters that are the subject of Andrew's
> reply.
>
> On Feb 18, 12:12 pm, igloo <[email protected]> wrote:
>
> > 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