making Protocol.WFS work with just featureType and featurePrefix configured. r=bartvde (closes #3368)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12129 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -50,6 +50,19 @@
|
||||
|
||||
}
|
||||
|
||||
function test_read_setGeometryName(t) {
|
||||
t.plan(1);
|
||||
var doc = readXML("v3/topp-states-gml.xml");
|
||||
var format = new OpenLayers.Format.GML.v3({
|
||||
featureType: "states",
|
||||
featureNS: "http://www.openplans.org/topp",
|
||||
geometryName: null
|
||||
});
|
||||
var features = format.read(doc.documentElement);
|
||||
|
||||
t.eq(format.geometryName, "the_geom", "geometryName set when parsing features");
|
||||
}
|
||||
|
||||
function test_readNode_bounds(t) {
|
||||
var files = ["v3/envelope.xml"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user