Fix GeoJSONCRSCode definition

The `code` property is on `GeoJSONCRSCode` not `GeoJSONCRSName`.

http://geojson.org/geojson-spec.html#named-crs
This commit is contained in:
Frederic Junod
2017-01-11 13:40:52 +01:00
parent c09c7ef3e2
commit 87b137ab7c

View File

@@ -64,19 +64,19 @@ GeoJSONCRS.prototype.properties;
var GeoJSONCRSCode = function() {};
/**
* @constructor
*/
var GeoJSONCRSName = function() {};
/**
* TODO: remove this when http://jira.codehaus.org/browse/GEOS-5996 is fixed
* and widely deployed.
* @type {string}
*/
GeoJSONCRSName.prototype.code;
GeoJSONCRSCode.prototype.code;
/**
* @constructor
*/
var GeoJSONCRSName = function() {};
/**