On 7 juin, 09:10, William <[email protected]> wrote: > On Jun 5, 8:35 pm, Brice <[email protected]> wrote: > > > about the way to have not that slowly page with EGeoXml ? > > the KML is 300kb and is being loaded twice, once for the outline and > once for the overlay, so that's 600kb download to the browser. > > Options to speed it up: > > 1. You could reduce the number of points in the boundary (using > Douglas algorithm) > > 2. The data is not being served with the gzip compression. When > gzipped each download would be 80kb instead of 300kb. > Seehttp://developer.yahoo.com/performance/rules.html#gzip > > 3. The file could be made one third smaller by leaving out the z > coordinate (every coordinate has 0.000000 for the altitude). > > 4. Download the polygon boundary only once and construct the overlay > shading of the area outside the polygon using javascript, see my > example V3 map in this > thread:http://groups.google.com/group/google-maps-js-api-v3/browse_thread/th... > > (click the "Inverse" checkbox to see the shading > effect)http://www.william-map.com/20100607/1/states.htm > > ...
Thanks a lot for all these recommendations, I'll try what you are suggesting but quite later (I don't really I've time right now). Thanks again -- 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.
