Thanks! But I have that property in the baseIcon:
var baseIcon = new GIcon();
baseIcon.shadow = '/images/icons/shadow.png';
baseIcon.iconSize = new GSize(14, 16);
baseIcon.shadowSize = new GSize(24, 16);
baseIcon.iconAnchor = new GPoint(7, 16);
baseIcon.infoWindowAnchor = new GPoint(7, 8);
And then each icon gets defined w/different names and tops, like:
var iconWhite = new GIcon(baseIcon);
iconWhite.sprite = {image:"/images/icons/markers.png", top:0}
On Mar 20, 3:30 pm, Rossko <[email protected]> wrote:
> Your markers don't have an infoWindowAnchor property. Why it works at
> all in the older version I couldn't say!
>
> It's usually best to base custom markers on the default icon, rather
> than starting from scratch with new GIcon(), then odd properties lke
> this don't get forgotten altogether.
>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---