Updating note about the "dimension" attribute.
This commit is contained in:
@@ -144,8 +144,7 @@ OpenLayers.Format.GML.v3 = OpenLayers.Class(OpenLayers.Format.GML.Base, {
|
|||||||
this.regExes.trimSpace, ""
|
this.regExes.trimSpace, ""
|
||||||
);
|
);
|
||||||
var coords = str.split(this.regExes.splitSpace);
|
var coords = str.split(this.regExes.splitSpace);
|
||||||
// The "dimension" attribute is not part of the spec, it is
|
// The "dimension" attribute is from the GML 3.0.1 spec.
|
||||||
// only used in an example (OGC 03-105r1, page 235).
|
|
||||||
var dim = obj.srsDimension ||
|
var dim = obj.srsDimension ||
|
||||||
parseInt(node.getAttribute("srsDimension") || node.getAttribute("dimension"), 10) || 2;
|
parseInt(node.getAttribute("srsDimension") || node.getAttribute("dimension"), 10) || 2;
|
||||||
var j, x, y, z;
|
var j, x, y, z;
|
||||||
|
|||||||
Reference in New Issue
Block a user