[OpenLayers-Dev] Developement of an external vector symbol

Eric Lemoine eric.c2c at gmail.com
Tue Nov 13 14:50:50 EST 2007


On Nov 13, 2007 2:42 PM, Pierre GIRAUD <bluecarto at gmail.com> wrote:
> Hi all,
>
> This morning, I had a review on the Barbara's code with some tiny clean-up.
> The code works great at the moment.
>
> There is still one thing to be fixed. Currently, the codebase to
> convert SVG symbols to VML has been put into the VML.js file as global
> functions such as "convertSVGToVML". This isn't really clean.
>
> What about having a new Format.SVG class with a convertToVML method ?
> Any other suggestions ?

Hmm... Concrete Format classes are meant to implement write() and
read(). read() reads data from a string and returns an object. write()
writes an object into a string. How would these two methods apply to
Format.SVG?

--
Eric



More information about the Dev mailing list