> should i use parsefloat at all ?

Depends on the cirumstance.
  In JSON, if you have 5.4352 , it is a number so far as javascript is
concerned. It can be used directly in functions expecting number
parameters, like GLatLng().
  In say XML, you don't read numbers, you read strings like '5.4352'.
This should preferably be converted to a form that javascript will
reliably understand as a number, by using parseFloat().

So as you have JSON and no quotes around your numbers, you have no
need to parseFloat() the data, it just adds work.  And as you have
many many points it will add up!!


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