I am wondering about the encoding/decoding and the effect it will have on performance. I am currently working on a map with about 2,000 polygons. The Javascript generating these polygons is about 2.5 MB. IE8 is with this latest improvement about able to handle this map, other browsers have no problems. I was wondering if I encode the polygons and use the new library for decoding, what would be the effect on overall performance. It will surely decrease my Javascript code with a lot, decreasing the load time of the part of the code coming from my server, but now there is more data to go back and forth to the Google servers and the Google servers need to do some decoding. Is there any reason for me to expect a significant increase in performance for the client?
Thanks, JV On Jan 5, 8:07 pm, "Chris Broadfoot (Google Employee)" <[email protected]> wrote: > Hi everyone, > > Happy new year! > > We recently released a new version of the Maps JavaScript API. > > Perhaps of most importance is the addition of our first library - a > geometry library that helps you perform spherical geometry > calculations, and encoding/decoding of polylines. See the post over on > the Geo Developers Blog (and subscribe via RSS if you haven't > already!):http://googlegeodevelopers.blogspot.com/2011/01/little-help-with-sphe... > > Also of note is an improvement to map controls, read more > here:http://code.google.com/apis/maps/documentation/javascript/controls.html > > Below is a summary of recent changes. > > Chris > > --- > > *3.3* January 6, 2011 > > Resolved issues: > * Geometry library added - provides spherical geometry and polyline > encoding utilities (Issue 2540, Issue 2595, Issue 2246) > * Ability to set the min/max zoom level on the map (Issue 1624) > > Improvements to map controls: > * Zoom and pan controls have been separated (no more navigation > control). These can be configured separately. > * New touch-friendly zoom control on touch devices > > Other changes: > * Contents of an MVCArray can now be cleared by calling clear() > * Fixed memory leak when adding and removing markers in IE8 > * Faster rendering of polys with improved simplification algorithm -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
