Mike thank you for your fast reply.
I have changed it to to only refer to one icon

now i noticed when i try to set the one icon by adding this line
var icontype = parseInt(markers[i].getAttribute("icontype"));
thats when it stops showing a marker on the map...? I am not really a
coder I am just trying to figure this out as best as I can. Please
help. Thank you in advance

On Jun 10, 10:59 pm, Mike Williams <nos...@econym.demon.co.uk> wrote:
> Check your Javascript error, then observe that you create ONE icon here:
>   var myIcon = new GIcon(G_DEFAULT_ICON);
> but then you refer to TWO icons here:
>   var icons = [];
>   icons[0] = blueIcon;
>   icons[1] = myIcon;
>
> --
> Mike Williamshttp://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to