On Oct 2, 11:16 pm, TimJBart <[EMAIL PROTECTED]> wrote:
> Here is a link to a test page, can someone please enlighten me on why
> I cannot see blue icons?
You set this
markerOptions = { icon:blueIcon };
and call this
map.addOverlay(createMarker(point, markerOptions));
but then do this
function createMarker(point, number) {
var marker = new GMarker(point);
return marker;
}
so you never actually make use of markerOptions (which you call
"number" in your function).
I would suggest your createMarker function should look like the
following, ensuring that the second argument is called something
relevant and actually used:
function createMarker(point, options) {
var marker = new GMarker(point, options);
return marker;
}
Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---