[OpenLayers-Users] GML feature attributes

Roger Kunkel rakunkel at ucdavis.edu
Fri Apr 6 14:00:32 EDT 2007


I'm having trouble accessing the attributes in a GML feature.
My mapserver gml attribute labels like "ms:gid" etc

I'm trying to get at them with:

geometry.parent.feature.attributes.ms:gid

without luck (syntax error?)

I'm using firebug to step through and watch things and I can see that  
the values are there, I just can't reference them in my code.
I guess this is actually a javascript question.


Roger Kunkel
CERES Program
Dept. of Land AIr & Water Resources
UC Davis
rakunkel at ucdavis.edu



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070406/ba05a13c/attachment.html


More information about the Users mailing list