[OpenLayers-Dev] [Polygon Rendering] Inverse fill

Eric Lemoine eric.lemoine at camptocamp.com
Sun May 20 17:45:04 EDT 2012


On Sunday, May 20, 2012, RICHARD Didier wrote:

>
> >
> >> Ok, so the workaround (VML, Canvas) cannot be considered as a good
> >>> solution : better cut the geometry and keep VML, SVG, Canvas order.
> >>>
> >>
> >> Fixing the SVG geometry clipping code would be the best solution. Don't
> >> know how difficult it would be though.
> >>
> >
> > Yeap cause the bug appears under Chrome/Windows, Chromium/Linux and IE9!
> > (I didn't check yet under IE8)
> >
> More tests and hints :
>
> IE8/WXP: working


IE 8 does not support SVG, so the VML is selected by OpenLayers for vector
rendering.


> Chromium 18/Linux: working (when VML, Canvas, not with default renderers)


In that case the Canvas renderer is selected.


> Chrome 18 et 19/WXP : working (when VML, Canvas not with default renderers)
> IE9/W7: working in IE8 mode, not in IE9 mode


Indeed. IE 9 supports SVG while IE 8 does not.


This makes it clear that the bug is in OpenLayers' SVG renderer, and that
the Canvas and VML renderers work correctly.


-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20120520/a0b233f2/attachment.html


More information about the Dev mailing list