Don't assume EPSG:4326 in ol.format.XML
This commit is contained in:
@@ -4,7 +4,6 @@ goog.require('goog.asserts');
|
|||||||
goog.require('goog.dom.xml');
|
goog.require('goog.dom.xml');
|
||||||
goog.require('ol.format.Format');
|
goog.require('ol.format.Format');
|
||||||
goog.require('ol.format.FormatType');
|
goog.require('ol.format.FormatType');
|
||||||
goog.require('ol.proj');
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -156,9 +155,7 @@ ol.format.XML.prototype.readProjection = function(source) {
|
|||||||
* @protected
|
* @protected
|
||||||
* @return {ol.proj.Projection} Projection.
|
* @return {ol.proj.Projection} Projection.
|
||||||
*/
|
*/
|
||||||
ol.format.XML.prototype.readProjectionFromNode = function(node) {
|
ol.format.XML.prototype.readProjectionFromNode = goog.abstractMethod;
|
||||||
return ol.proj.get('EPSG:4326');
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user