Ok I've looked the page you suggest (http://www.william-map.com/
20100607/1/states.htm) but I don't really understand what you are
doing :/

What I have to do :
- have a single kml file without altitude informations -- what I've
done (the files are now 216KB) - I know gzip but not for Web I don't
understand how to use it with GGeoXml
- draw the frontier (but this information already appears into the kml
file)
- draw an overlay on the map that exclude the state, but it goes
against the informations that appears into the kml doesn't it ?

This is that last step I don't really understand and don't know how to
do it.

Thanks again.


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

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