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.
See http://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/thread/07ef97a9489a34f5

(click the "Inverse" checkbox to see the shading effect)
http://www.william-map.com/20100607/1/states.htm

...

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