[OpenLayers-Dev] OpenLayers & SVG Web

Tim Schaub tschaub at opengeo.org
Wed Dec 2 13:19:06 EST 2009


Christopher Schmidt wrote:
> ----- Forwarded message from Jonathan Pasquier -----
> Hello Chris,
> I know that OpenLayers has support for vector drawing in all the browsers,
> I have used a lot this feature and it's working really well.
> What I wanted to do was just to experiment with SVG Web as well as get an
> insight on the internals of OpenLayers.
> As you can see on my webpage, the port of svg web to openlayers is not
> really usable at the moment (missing features + speed issue).
> I know that introducing a dependency upon an external library is not really
> great, but it could be nice to have a full SVG support across all browsers.
> This could allow us to use specific SVG features (SMIL, filters, etc..) or
> to use SVG art on openlayers maps.
> What do you think about it?

My opinion is that we'll be better off enhancing what we have.  If there 
are SVG features that can be implemented in multiple browsers, then we 
should be able to do this in our current renderers (and we can 
cherry-pick any cross-browser implementation stuff that is appropriate 
from SVG Web).

It would help to center this discussion around specific features.  Since 
it makes sense from an OpenLayers perspective to talk about rendering 
features with symbolizers, what specific features would you like to see 
added (not in SVG speak but in OpenLayers speak)?


> Regards,
> Jonathan
> 2009/11/30 Christopher Schmidt <crschmidt at metacarta.com>
>> On Fri, Nov 27, 2009 at 03:06:24PM +0100, Jonathan Pasquier wrote:
>>> Hello,
>>> I have been doing some experiment with OpenLayers recently, and
>> especially
>>> with the Vector feature.
>>> After seeing the recent announcement of a new release of SVG
>>> web<http://code.google.com/p/svgweb/>,
>>> a js library which aims to provide suport for SVG to all browser,
>>> I have decided to try to integrate it with OpenLayers so I could use my
>>> beloved SVG under any browser (including IE!!!)
>> OpenLayers already has support for vectors in all browsers, including IE.
>> No use of an external library is neccesary.
>> What were you trying to accomplish using svgweb?
>> -- Chris
>>> After a couple of days fighting against the DOM, javascript and flash, I
>>> have finally manage to get something usable.
>>> It still in alpha stage, but if you want you can give it a try.
>>> Source and examples are available here:
>>> http://www.bordel-de-nerd.net/olsvgweb/
>>> I have only tested it under Firefox 3.5 and IE 8, but it should work with
>>> other browsers as well.
>>> Any comment or suggestion will be welcome!
>>> Regards,
>>> Jonathan
>>> _______________________________________________
>>> Dev mailing list
>>> Dev at openlayers.org
>>> http://openlayers.org/mailman/listinfo/dev
>> --
>> Christopher Schmidt
>> MetaCarta
> ----- End forwarded message -----

Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.

More information about the Dev mailing list