[OpenLayers-Users] Parsing geometry and not geometry feature in same layer ?

Sébastien Geindre sebastien.geindre at meteo.fr
Thu Aug 5 07:58:04 EDT 2010


Hi all,


I'd like to add one vector layer, with gml features and metadata 
information.
<fooList>
<requestTime>05/08/2010 11:51:32 AM</requestTime>
<status>OK</status>
<gml:featureMembers lastModified="05/08/2010 11:51:32 AM">
  <foo>
   <1>EETT</1>
   <2>1</2>
   ...
   <gml:Polygon>...
  </foo>
</gml:featureMembers>
</fooList>

i wrote my own parse based on OpenLayers.Format.GML.v3

i succeeded in get my foo features with their attributes, they are well 
drawn an di can manage event on...

But i do not knwo how to handle metadata like requestTime.
There are not feature (geometric one), but i want to store the 
information and draw it, for example, after a 'featuresadded' event..

Any suggestions ?

Thanks!



More information about the Users mailing list