Merge pull request #1569 from tschaub/geojson-todo

Add reminder to remove workaround when GeoServer GeoJSON issue is fixed.
This commit is contained in:
Tim Schaub
2014-01-21 09:18:29 -08:00
3 changed files with 10 additions and 0 deletions

View File

@@ -373,6 +373,8 @@ ol.format.GeoJSON.prototype.readProjection = function(object) {
} else if (crs.type == 'EPSG') {
// 'EPSG' is not part of the GeoJSON specification, but is generated by
// GeoServer.
// TODO: remove this when http://jira.codehaus.org/browse/GEOS-5996
// is fixed and widely deployed.
return ol.proj.get('EPSG:' + crs.properties.code);
} else {
goog.asserts.fail();