[OpenLayers-Dev] Performance of Vector Layer Rendering...

Erik Uzureau erik.uzureau at metacarta.com
Wed Jul 11 10:15:46 EDT 2007


On 7/10/07, Lance Dyas <lancelot at inetnebr.com> wrote:
> Comparing this...
> http://www.dyasdesigns.com/egeotest/wfs-states.html
> I get unresponsive script alerts every time I zoom...
>
> and this...
> http://www.dyasdesigns.com/egeotest/gmlusa.htm.
> The original source (was from the same geoserver
> layer)
>
> Google Maps has something called polyline/polygon encoding to
> allow Level of Detail at discrete zoom levels to be stored
> and used in rendering. (google can do this serverside within
> limits for kml overlays) In this case I am doing it client side
> and combine it with code which causes the polygons which
> are outside the view to be removed from display and re-added when
> needed.(this addressed issues of complex polygons/polylines outside the view
> area lagging the performance when zoomed in)
>
> The end result is faster rendering at all zooms
> it is slightly less clean when panning.. but....
> Oh and random colors are cool.. ;-)
> OpenLayers should have a random color mode
> for WFS layers.

That sounds like it might be an interesting feature. If you could make
a ticket for that, it will help us to consider developing/integrating
it into trunk. -e
>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>



More information about the Dev mailing list