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;