From 700ebb860a62a7152f2e6c0716084e55bd7ded80 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Fri, 13 Dec 2013 21:42:25 +0100 Subject: [PATCH] Don't assume EPSG:4326 in ol.format.Format --- src/ol/format/format.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; /**