[OpenLayers-Dev] Performance of Vector Layer Rendering...
Lance Dyas
lancelot at inetnebr.com
Thu Jul 12 03:05:34 EDT 2007
Erik Uzureau wrote:
> 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
>
and relatively trivial to implement, just like degree formatted
coordinates... icing stuff really.
but the performance issues are where things get rocking..I am wondering what
work might be underway or planned to enhance performance?
>
> .
>
More information about the Dev
mailing list