From 379c11e1ced040fb4a81818be15f03906d09e966 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sun, 25 Aug 2013 12:22:08 -0600 Subject: [PATCH] Add externs for GeoJSON crs member --- externs/geojson.js | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/externs/geojson.js b/externs/geojson.js index a67f9a8940..acb4821c0e 100644 --- a/externs/geojson.js +++ b/externs/geojson.js @@ -34,12 +34,25 @@ var GeoJSONCRS = function() {}; /** - * @type {!Object.} + * @type {!GeoJSONCRSName|!GeoJSONLink} */ GeoJSONCRS.prototype.properties; +/** + * @constructor + */ +var GeoJSONCRSName = function() {}; + + +/** + * @type {string} + */ +GeoJSONCRSName.prototype.name; + + + /** * @constructor * @extends {GeoJSONObject} @@ -106,3 +119,17 @@ GeoJSONFeatureCollection.prototype.features; * @type {!Array.|undefined} */ GeoJSONFeatureCollection.prototype.bbox; + + + +/** + * @constructor + * @extends {GeoJSONObject} + */ +var GeoJSONLink = function() {}; + + +/** + * @type {string} + */ +GeoJSONLink.prototype.href;