Don't assume EPSG:4326 in ol.format.Text

This commit is contained in:
Tom Payne
2013-12-13 21:42:38 +01:00
parent 700ebb860a
commit c86d7c40e2

View File

@@ -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;
/**