Updating note about the "dimension" attribute.

This commit is contained in:
ahocevar
2012-06-15 11:49:14 +02:00
parent 69214d11b1
commit c8161ed4ee

View File

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