Marcelo,

Thanks for your reply. Adding the keyword 'var' in front of the two
pnts variables didn't solve the problem, but you pointed me in the
right direction. The problem (also) was that the xmlhttp variable
wasn't local. Currently it's working like a charm!

Thanks a lot!

- Ron

On 7 mrt, 17:14, marcelo <[email protected]> wrote:
> Try adding the keyword 'var' in front of your pnts variable, like
>
> var pnts = new Array();
>
> ... in both instances, so that it is local to the callback function.
>
> Right now, it is global, so the second call, (Belguim), overwrites the
> first (The Netherlands).
>
> --
> Marcelo -http://maps.forum.nu
> --
>
> On Mar 7, 4:51 pm, Ron Kok <[email protected]> wrote:
>
> > Hi all,
>
> > Currently I'm having difficulties displaying two polygons (country
> > shapes) on a map, as I'm just a beginner with the Maps API. Both
> > polygons are described in separate xml files. As it appears only one
> > polygon is being displayed. Please have a 
> > lookhttp://www.ronkok.com/work/infvis/maps.html.
> > The problem occurs in IE as well as in Firefox, although Firebug isn't
> > raising any alerts.
>
> > I've been looking for solutions to this problem, but most working
> > examples / solutions were taken offline...
>
> > I would really appreciate it if you can help me out!
>
> > - Ron

--~--~---------~--~----~------------~-------~--~----~
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