always include field type in DescribeFeatureType fields. With
modifications from tschaub. r=tschaub (closes #1202) git-svn-id: http://svn.openlayers.org/trunk/openlayers@9106 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -112,6 +112,7 @@ OpenLayers.Format.WFSDescribeFeatureType = OpenLayers.Class(
|
||||
type = {};
|
||||
this.readChildNodes(node, type)
|
||||
element.restriction = type;
|
||||
element.type = type.base;
|
||||
}
|
||||
var fullType = type.base || type;
|
||||
element.localType = fullType.split(":").pop();
|
||||
|
||||
Reference in New Issue
Block a user