[OpenLayers-Users] Pros and cons of the various renderers? (SVG, SVG2, Canvas)

Andreas Hocevar ahocevar at opengeo.org
Wed May 2 05:30:07 EDT 2012


Hey Volker,

you're absolutely right. Sorry for the confusion. Canvas has fast
initial rendering, but is slow when visual changes are applied to a
few features, because the whole viewport needs to be redrawn.

Andreas.

On Wed, May 2, 2012 at 9:57 AM, Volker Mische <volker.mische at gmail.com> wrote:
> Hi Andreas,
>
>
> I'm not quite sure I understand you comment about the Canvas rendering
> speed (too many "not"s :).
>
> On 04/30/2012 07:04 PM, Andreas Hocevar wrote:
>> SVG2 is deprecated and no longer maintained. Canvas is initially fast
>> for rendering many vertices, but it is not good if you don't do many
>> interactive symbolizer changes (e.g. feature selection with visual
>> feedback) on layers with tons of features, because it has to redraw
>> the whole viewport for every such change. SVG supports a few more
>> symbolizer properties than Canvas, but Canvas is catching up.
>
> Shouldn't it read "but it is not good if you *do* many interactive
> symbolizer changes"
>
> Cheers,
>  Volker
>
>> On Sun, Apr 29, 2012 at 11:39 PM, Phil Scadden <p.scadden at gns.cri.nz> wrote:
>>> I recently found there was issue on the 180 line with the SVG renderer
>>> but Canvas and SVG2 were okay. What is the preferred renderer choices?
>>> What are the pros and cons of each?
>>> --
>>> Phil Scadden, GNS Science Ltd 764 Cumberland St, Private Bag 1930,
>>> Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232
>>>
>>> Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>>
>>
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list