1.- What is it?
To do so, I have developed a new Renderer for OpenLayers.
1.1.- SVG Web
For more info, see http://code.google.com/p/svgweb/
For more info, see http://www.openlayers.org/
2.- How to use it
In order to use the SVGWeb render, you must use the last version of the SVG Web library with a little patch that correct
this issue. Once this issue will be solved, you
will be able to use the SVGWeb renderer with any future release of SVG Web.
Update: you can now use the SVG Web renderer with the latest SVN version of SVG Web.
You must also modify your copy of OpenLayers so it knows that there is a new renderer available.
If you are using the compressed version of OpenLayers, open OpenLayers.js, look for the string
and replace it with
If you are using the source version of OpenLayers, you have to edit /OpenLayers/Layer/Vector.js.
There, you will have to look for the
renderers property and replace
Finally, you have to put the following code in the page where you want to use OpenLayers: (just after the inclusion of the OpenLayers.js script)
- the renderer
- the patched version of svgweb
- the modified version of OpenLayers
- all in one zip (including examples)
Below you will find examples from the openlayers web site that have been adapted to use the SVGWeb Renderer instead of the default one.
Note that Internet Explorer will always use the flash renderer as it does not provide native support for SVG.
If you have any question, you can contact me