diff --git a/src/ol/format/format.js b/src/ol/format/format.js index 18d924554d..4e3c0a055a 100644 --- a/src/ol/format/format.js +++ b/src/ol/format/format.js @@ -2,7 +2,6 @@ goog.provide('ol.format.Format'); goog.provide('ol.format.FormatType'); goog.require('goog.functions'); -goog.require('ol.proj'); /** @@ -65,9 +64,7 @@ ol.format.Format.prototype.readGeometry = goog.abstractMethod; * @param {Document|Node|Object|string} source Source. * @return {ol.proj.Projection} Projection. */ -ol.format.Format.prototype.readProjection = function(source) { - return ol.proj.get('EPSG:4326'); -}; +ol.format.Format.prototype.readProjection = goog.abstractMethod; /** diff --git a/src/ol/format/textformat.js b/src/ol/format/textformat.js index 4db799da68..ca56d9c2e4 100644 --- a/src/ol/format/textformat.js +++ b/src/ol/format/textformat.js @@ -3,7 +3,6 @@ goog.provide('ol.format.Text'); goog.require('goog.asserts'); goog.require('ol.format.Format'); goog.require('ol.format.FormatType'); -goog.require('ol.proj'); @@ -101,9 +100,7 @@ ol.format.Text.prototype.readProjection = function(source) { * @protected * @return {ol.proj.Projection} Projection. */ -ol.format.Text.prototype.readProjectionFromText = function(text) { - return ol.proj.get('EPSG:4326'); -}; +ol.format.Text.prototype.readProjectionFromText = goog.abstractMethod; /** diff --git a/src/ol/format/xmlformat.js b/src/ol/format/xmlformat.js index 8f32bcbeaf..2fd8ddbc54 100644 --- a/src/ol/format/xmlformat.js +++ b/src/ol/format/xmlformat.js @@ -4,7 +4,6 @@ goog.require('goog.asserts'); goog.require('goog.dom.xml'); goog.require('ol.format.Format'); goog.require('ol.format.FormatType'); -goog.require('ol.proj'); @@ -156,9 +155,7 @@ ol.format.XML.prototype.readProjection = function(source) { * @protected * @return {ol.proj.Projection} Projection. */ -ol.format.XML.prototype.readProjectionFromNode = function(node) { - return ol.proj.get('EPSG:4326'); -}; +ol.format.XML.prototype.readProjectionFromNode = goog.abstractMethod; /**