On Jun 10, 11:32 pm, mototips <[email protected]> wrote: > Here it is when i add in that one line of code
http://www.mototips.com/sample/sample.html > > I am not getting any errors... IE6 reports: Line:72 Error: 'markers' is undefined The only mention I see of markers on your page is on line 73 (IE has trouble counting lines): var icontype = parseInt(markers[i].getAttribute("icontype")); I suspect you want that to reference the array of xml elements "xmlrow" like all the other lines do. -- Larry > I just dont see the marker anymore.... > Thank you to larry for trying to help me out :). What is the next > step? > > On Jun 10, 11:24 pm, "[email protected]" <[email protected]> > wrote: > > > On Jun 10, 11:12 pm, mototips <[email protected]> wrote: > > > > Mike thank you for your fast reply. > > > I have changed it to to only refer to one icon > > > But the old version is still at the link you provided. Is the updated > > one somewhere else? > > > > 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...? > > > And the error you get is? > > > -- Larry > > > > On Jun 10, 10:59 pm, Mike Williams <[email protected]> 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 [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 -~----------~----~----~----~------~----~------~--~---
