Ticket #2802 (closed feature: fixed)
New SVG2 renderer for modern browsers
|Reported by:||ahocevar||Owned by:|
The attached patch proposes an SVG2 renderer. This comes without workarounds that we needed for older browsers, and it uses native coordinates. It also uses the map's maxExtent as drawing board, so there is no need to redraw features after a pan. Because the SVG coordinate system never changes, there is no need to redraw features when the zoom changes.
The patch is a snapshot of the development in my renderer-ng sandbox, as a start for further vector rendering improvements targeted towards OL 3.0.
Patch comes with tests, a new performance test, and more examples that support the ?renderer=<Renderer> url option.
Setting milestone to 2.10, because with this patch, the new renderer will not be used unless a Vector layer is configured to do so. So there is no danger of introducing a regression, and it would give us the chance to get feedback from users. If anyone disagrees, please set the milestone back to 2.11.
Thanks for any review.