[OpenLayers-Dev] Question about GML serialization

Tim Schaub tschaub at openplans.org
Wed Aug 22 17:49:07 EDT 2007


Cross-browser GML serialization will be in the 2.5 release.

Tim

Jc Albert wrote:
> 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 
> <http://www.trueswitch.com/yahoo-fr/> vers Yahoo! Mail 
> !DSPAM:4033,46cc0020315074901796417!
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
> 
> 
> !DSPAM:4033,46cc0020315074901796417!




More information about the Dev mailing list