Rename gml format files to match convention

also changes some comments and syntax (feedback from PR comments
This commit is contained in:
Florent gravin
2014-10-03 09:00:43 +02:00
parent 0646056751
commit bea721349a
3 changed files with 5 additions and 3 deletions
@@ -27,8 +27,10 @@ goog.require('ol.xml');
/** /**
* @classdesc * @classdesc
* Feature format for reading and writing data in the GML format. * Feature base format for reading and writing data in the GML format.
* Currently only supports GML 3.1.1 Simple Features profile. * This class cannot be instantiate, it contains only base content that
* is shared with versioned format classes ol.format.GML2 and
* ol.format.GML3.
* *
* @constructor * @constructor
* @param {olx.format.GMLOptions=} opt_options * @param {olx.format.GMLOptions=} opt_options
@@ -515,7 +517,7 @@ ol.format.GMLBase.prototype.readGeometryFromNode =
function(node, opt_options) { function(node, opt_options) {
var geometry = this.readGeometryElement(node, var geometry = this.readGeometryElement(node,
[this.getReadOptions(node, goog.isDef(opt_options) ? opt_options : {})]); [this.getReadOptions(node, goog.isDef(opt_options) ? opt_options : {})]);
return (goog.isDef(geometry) ? geometry : null); return goog.isDef(geometry) ? geometry : null;
}; };