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
+28 -1
View File
@@ -34,12 +34,25 @@ var GeoJSONCRS = function() {};
/** /**
* @type {!Object.<string, *>} * @type {!GeoJSONCRSName|!GeoJSONLink}
*/ */
GeoJSONCRS.prototype.properties; GeoJSONCRS.prototype.properties;
/**
* @constructor
*/
var GeoJSONCRSName = function() {};
/**
* @type {string}
*/
GeoJSONCRSName.prototype.name;
/** /**
* @constructor * @constructor
* @extends {GeoJSONObject} * @extends {GeoJSONObject}
@@ -106,3 +119,17 @@ GeoJSONFeatureCollection.prototype.features;
* @type {!Array.<number>|undefined} * @type {!Array.<number>|undefined}
*/ */
GeoJSONFeatureCollection.prototype.bbox; GeoJSONFeatureCollection.prototype.bbox;
/**
* @constructor
* @extends {GeoJSONObject}
*/
var GeoJSONLink = function() {};
/**
* @type {string}
*/
GeoJSONLink.prototype.href;