Add ol.format.Polyline#readProjectionFromText

This commit is contained in:
Tom Payne
2013-12-17 01:15:54 +01:00
parent 36a5a53ba2
commit 1864f204f7

View File

@@ -5,6 +5,7 @@ goog.require('ol.Feature');
goog.require('ol.format.Text');
goog.require('ol.geom.LineString');
goog.require('ol.geom.flat');
goog.require('ol.proj');
@@ -377,6 +378,14 @@ ol.format.Polyline.prototype.readGeometryFromText = function(text) {
};
/**
* @inheritDoc
*/
ol.format.Polyline.prototype.readProjectionFromText = function(text) {
return ol.proj.get('EPSG:4326');
};
/**
* @inheritDoc
*/