Add externs for GeoJSON crs member

This commit is contained in:
Tim Schaub
2013-08-25 12:22:08 -06:00
parent 637bbeb2a7
commit 379c11e1ce

View File

@@ -34,12 +34,25 @@ var GeoJSONCRS = function() {};
/**
* @type {!Object.<string, *>}
* @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.<number>|undefined}
*/
GeoJSONFeatureCollection.prototype.bbox;
/**
* @constructor
* @extends {GeoJSONObject}
*/
var GeoJSONLink = function() {};
/**
* @type {string}
*/
GeoJSONLink.prototype.href;