Fix ol.format.GML.readProjectionFromNode
This commit is contained in:
@@ -1076,8 +1076,8 @@ ol.format.GML.prototype.readFeaturesFromNode = function(node, opt_options) {
|
|||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
*/
|
*/
|
||||||
ol.format.GML.prototype.readProjectionFromNode = function(node) {
|
ol.format.GML.prototype.readProjectionFromNode = function(node) {
|
||||||
return goog.isDef(this.srsName_) ? this.srsName_ :
|
return ol.proj.get(goog.isDef(this.srsName_) ? this.srsName_ :
|
||||||
node.firstElementChild.getAttribute('srsName');
|
node.firstElementChild.getAttribute('srsName'));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user