I usually opt for drawing my map vectors via GeoJSON/google.maps.Polygon.
For me it offers more flexibility than KML or GeoRSS but it does slow things
down a lot when drawing hundreds of vectors.

Have you considered simplifying your geometry? I'm not sure what you're
using to push your GeoJSON but if you're using something like PostGIS you
could try:

st_asgeojson(transform(simplify(the_geom,1),4326))


In the case above the I'm simplifying with a tolerance of 1 (feet in my
case), You'd have to adjust this for your coordinate system's units.

If it's possible that not all of your polygons are within the current extent
you could always hide the ones that aren't visible with some sort of filter.
I'm not sure this extra overhead wouldn't slow down things even more though,
but probably worth a try.

Good luck.

On Sun, Jan 9, 2011 at 8:55 AM, Rossko <[email protected]> wrote:

> KML can contain styling information.
> KML can be dynamic through the use of NetworkLink and Refresh.
> You seem to have rejected KML because "it lacks performance"?    I
> can't see why that should be the case but in the absence of any demo
> or detail of how you are using KML (KmlLayer? GeoXml3?) can't comment
> much further.
>
> --
> 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]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

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

Reply via email to