/** * @fileoverview Externs for GeoJSON. * @see http://geojson.org/geojson-spec.html * @externs */ /** * @constructor */ var GeoJSONObject = function() {}; /** * @type {string} */ GeoJSONObject.prototype.type; /** * @type {!GeoJSONCRS|undefined} */ GeoJSONObject.prototype.crs; /** * @constructor * @extends {GeoJSONObject} */ var GeoJSONCRS = function() {}; /** * @type {!Object.} */ GeoJSONCRS.prototype.properties; /** * @constructor * @extends {GeoJSONObject} */ var GeoJSONGeometry = function() {}; /** * @type {!Array.|!Array.>| * !Array.>>} */ GeoJSONGeometry.prototype.coordinates; /** * @constructor * @extends {GeoJSONObject} */ var GeoJSONGeometryCollection = function() {}; /** * @type {!Array.} */ GeoJSONGeometryCollection.prototype.geometries; /** * @constructor * @extends {GeoJSONObject} */ var GeoJSONFeature = function() {}; /** * @type {GeoJSONGeometry} */ GeoJSONFeature.prototype.geometry; /** * @type {Object.} */ GeoJSONFeature.prototype.properties; /** * @constructor * @extends {GeoJSONObject} */ var GeoJSONFeatureCollection = function() {}; /** * @type {!Array.} */ GeoJSONFeatureCollection.prototype.features; /** * @type {!Array.|undefined} */ GeoJSONFeatureCollection.prototype.bbox;