> function createMarker(point,html,ba,ov) {
> var mylabel = {"url":overlay[ov], "anchor":new GLatLng(4,4),
> "size":new GSize(12,12)};
> var Icon = new GIcon(G_DEFAULT_ICON, background[ba], mylabel)
I suppose you could try the documented methods of setting GIcon
properties like iconSize, I don't think that third argument is
supported?
http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GIcon
background[ba] will be set as the main GIcon image, not sure that is
what you intended.
>From the tutorial where the code came from
http://econym.org.uk/gmap/custom.htm
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" 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.