On Sep 6, 11:04 am, marcelo <[EMAIL PROTECTED]> wrote:
> On this line:
> var maplabel =  new ELabel(pts[a], territory_name, "style1");
>
> when the value of a reaches 10, the correcponding polygon on the list
> has only 5 points, so pts[a] is undefined.
>
> Try using pts[0] instead, to get always the first point of the
> polygon.

And then you get an error in IE because "listofterritories_text" is
undefined when you try to add stuff to it.  You are missing a:
                  var listofterritories_text = "";

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