On Nov 15, 12:54 pm, xelawho <[email protected]> wrote: > Hi, > > so, I have a question here. Does anybody know why this > map:http://www.xelawho.com/map/collapse5.htm > > shows 3 categories in the sidebar in Chrome (as it should) but only > one in IE or FF?
Not off hand, but I will answer the question in the subject. > > my other question would be, why can't I get my custom markers to show > up, but I think I know the answer to that one - being that the icons > get assigned in the function initialize() stage (the only place I > could put it that didn't generate a "GIcon is not defined" error), the > markers get made later... so they don't get assigned? > > but anyway... this whole function initialize() thing seems to be a > pain in the neck. I've tried to get rid of it (and the > google.setOnLoadCallback(initialize); that I assume calls it) but the > map breaks every time. The map cannot be initialized until the DOM has finished rendering. There are 2 ways to achieve this: 1. an onload function (i.e. initialize) 2. putting the map initialization code at the bottom of your page (just before the </body> tag. Both have their issues, both can be made to work. -- Larry > > Anybody got any clues about any of the above? > > thanks in advance, > > Lucas -- 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.
