Changeset 7654
- Timestamp:
- 07/31/08 21:30:39 (4 months ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Format/GML.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Format/GML.js
r7540 r7654 169 169 } 170 170 var feature = new OpenLayers.Feature.Vector(geometry, attributes); 171 172 feature.gml = { 173 featureType: node.firstChild.nodeName.split(":")[1], 174 featureNS: node.firstChild.namespaceURI, 175 featureNSPrefix: node.firstChild.prefix 176 }; 177 171 178 // assign fid - this can come from a "fid" or "id" attribute 172 179 var childNode = node.firstChild;
