[OpenLayers-Dev] Question about GML serialization

Jc Albert jcalbert802 at yahoo.fr
Wed Aug 22 05:21:20 EDT 2007


Hello,

I have problems about GML serialization : when I serialize a gml layer, I loose original polygons coordinates.

I did the following test :
example/gml-serialize.html
L29 - var pointLayer = new OpenLayers.Layer.Vector("Point Layer");
L29 + var pointLayer = new OpenLayers.Layer.GML("Point Layer","gml/polygon.xml");

When you start the sample, you'll see that polygons described inside polygon.xml have 'undefined,undefined' as coordinates when they are serialized. I you draw a new polygon, coordinates are ok for this new one. 
Do I forget something to make it work correctly ?

And about dom serialization on IE/Opera , I found this doc if someone is interrested :
http://www.faqts.com/knowledge_base/view.phtml/aid/34646

Thanks.
Jc.




      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20070822/0b5b5f40/attachment.html


More information about the Dev mailing list