From 87b137ab7cf6def4a2dfe744b6913c76890ea894 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 11 Jan 2017 13:40:52 +0100 Subject: [PATCH] Fix GeoJSONCRSCode definition The `code` property is on `GeoJSONCRSCode` not `GeoJSONCRSName`. http://geojson.org/geojson-spec.html#named-crs --- externs/geojson.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/externs/geojson.js b/externs/geojson.js index afa13c30f1..4dbe44a8d3 100644 --- a/externs/geojson.js +++ b/externs/geojson.js @@ -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() {}; /**