On Nov 29, 6:45 pm, bratliff <[EMAIL PROTECTED]> wrote:

Sorry about the botched code caused by the viewer.  Why it cannot let
the user's browser determine line wrapping seems ridiculuous to me.

The following is equivalent:

var poly=[];
for (var i=0;LatArr[i]&LonArr[i];i++)
{
    var x=LonArr[i].childNodes[0].data-0;
    var y=LatArr[i].childNodes[0].data-0;
    poly[i]={x:x,y:y};
}

If "whatever" is a string, "whatever-0" will convert it to a number.
If "whatever" is already a number, "whatever-0" will do nothing.

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