wow! thank you so much! now it works ;)

@clustering: mmh yeah. I should look into that :)

thanks again!

On 4 Mrz., 17:33, marcelo <[email protected]> wrote:
> Your javascript is being loaded too early, before the map_canvas div
> has been created.
> That's why, when you have a bigger XML file, which takes longer to
> load, the browser has time to create the div before the XML is fully
> loaded.
>
> Wrap your javascript inside a function and call it, for example,  with
> <body onload="load()">
>
> In any case, 1200 markers is way too many. You'll need to look into
> some clustering solution, eitehr client or server side.
>
> --
> Marcelo -http://maps.forum.nu
> --
>
> On Mar 4, 5:09 pm, Quasi <[email protected]> wrote:
>
> > Hi!
> > I got a strange error which i cannot fix -.-
>
> > My xmlfile is generated by a phpscript which takes the data of my
> > userdatabase.
> > If I use my full userdatabase I end up with about 1200 markers in the
> > xmlfile and it works well on the map.
> > But when I generate a xmlfile with less markers (p.e. 500), I get a "a
> > is null" error and the map doesn't show up.
>
> > As soon I take the limit of markers out of my xmlgenerator, the map
> > works again.
>
> > I just can't find the solution why the map works with about 1200
> > markers, but won't work with my xmlfile with about 500 markers
>
> >http://www.strumpfhose.net/mitgliederkarte.htmlmy map
>
> >http://www.strumpfhose.net/js/gmaps.jsthe jsfile
>
> >http://www.strumpfhose.net/_php/gmapxml.phpxmlfile (currently set to
> > 500markers)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to