Parse out-of-spec CRSs generated by GeoServer

This commit is contained in:
Tom Payne
2014-01-21 16:02:02 +01:00
parent 7f9fd3db5e
commit f9e0167b66
3 changed files with 32 additions and 1 deletions
+16 -1
View File
@@ -34,12 +34,27 @@ var GeoJSONCRS = function() {};
/**
* @type {!GeoJSONCRSName|!GeoJSONLink}
* @type {!GeoJSONCRSCode|!GeoJSONCRSName|!GeoJSONLink}
*/
GeoJSONCRS.prototype.properties;
/**
* `GeoJSONCRSCode` is not part of the GeoJSON specification, but is generated
* by GeoServer.
* @constructor
*/
var GeoJSONCRSCode = function() {};
/**
* @type {string}
*/
GeoJSONCRSName.prototype.code;
/**
* @constructor
*/