First of all, your data has too many decimals.

You could reduce
<point lat="45.3877898325" lng="-96.508832824"/>

to
<p y="45.38778" x="-96.50883"/>

or if you're only using it at low zoom levels, to
<p y="45.38" x="-96.50"/>

and for each character you remove from the XML file you save 1 byte.

Beyond that, look into encoded polylines:

The official documentation:
http://code.google.com/apis/maps/documentation/overlays.html#Encoded_...

A better explanation by Marc McClure:
http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/

A Perl module to encode polylines, written by John Coryat and myself:
http://www.usnaviguide.com/google-encode.htm

Finally, if that does not yield acceptable performance, then your only
option left will be custom tiles, like this:
http://maps.forum.nu/gm_main.html?lat=39.740986&lon=-100.634766&z=5&mType=5


--
Marcelo - http://maps.forum.nu
--










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