Remove GeoJSONObject extends from GeoJSONCRS

Otherwise CRS object may have a `boox` or a `crs` property
This commit is contained in:
Frederic Junod
2015-01-27 11:23:55 +01:00
parent ad65989d28
commit 3fbe9265da

View File

@@ -34,11 +34,17 @@ GeoJSONObject.prototype.crs;
/**
* @constructor
* @extends {GeoJSONObject}
*/
var GeoJSONCRS = function() {};
/**
* CRS type. One of `link` or `name`.
* @type {string}
*/
GeoJSONCRS.prototype.type;
/**
* TODO: remove GeoJSONCRSCode when http://jira.codehaus.org/browse/GEOS-5996
* is fixed and widely deployed.