On Dec 23, 8:16 pm, daniel <[email protected]> wrote:

> I had read something on the groups about encoding a few number of
> polygons doesn't show an increase, and could actually slow load times.
> (because it has to decipher then display)  Not sure if that is
> accurate, so I somebody could correct me on that.

Try using a JavaScript file containing an array of arrays instead of
an XML file.

Try using "whatever-0" instead of "parseFloat(whatever)".  If
"whatever" is a string, it will be converted to a floating point
number.  If "whatever" is already a floating point number, it will do
nothing.

Try using an array of "{x:Lon-0,y:Lat-0}" objects instead of an array
of "new GLatLon(Lat-0,Lon-0)" objects.  It will reduce the speed
advantage of "fromEncoded" polys, perhaps even eliminate it.

A few simple examples:

    www.polyarc.us/polyfix
    www.polyarc.us/polybridge
    www.polyarc.us/polypacker

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