Merge pull request #4899 from fredj/srsName

Use ol.format.GMLBase#srsName instead of undeclared srsName_
This commit is contained in:
Frédéric Junod
2016-02-24 09:43:49 +01:00

View File

@@ -636,6 +636,6 @@ ol.format.GMLBase.prototype.readFeaturesFromNode = function(node, opt_options) {
* @inheritDoc
*/
ol.format.GMLBase.prototype.readProjectionFromNode = function(node) {
return ol.proj.get(this.srsName_ ? this.srsName_ :
return ol.proj.get(this.srsName ? this.srsName :
node.firstElementChild.getAttribute('srsName'));
};