Move bbox property to GeoJSONObject
See http://geojson.org/geojson-spec.html#geojson-objects: "A GeoJSON object may have a "bbox" member [...]"
This commit is contained in:
+6
-12
@@ -13,6 +13,12 @@
|
|||||||
var GeoJSONObject = function() {};
|
var GeoJSONObject = function() {};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {!Array.<number>|undefined}
|
||||||
|
*/
|
||||||
|
GeoJSONObject.prototype.bbox;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {string}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
@@ -110,12 +116,6 @@ GeoJSONGeometryCollection.prototype.geometries;
|
|||||||
var GeoJSONFeature = function() {};
|
var GeoJSONFeature = function() {};
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @type {!Array.<number>|undefined}
|
|
||||||
*/
|
|
||||||
GeoJSONFeature.prototype.bbox;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {GeoJSONGeometry}
|
* @type {GeoJSONGeometry}
|
||||||
*/
|
*/
|
||||||
@@ -148,12 +148,6 @@ var GeoJSONFeatureCollection = function() {};
|
|||||||
GeoJSONFeatureCollection.prototype.features;
|
GeoJSONFeatureCollection.prototype.features;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @type {!Array.<number>|undefined}
|
|
||||||
*/
|
|
||||||
GeoJSONFeatureCollection.prototype.bbox;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @constructor
|
* @constructor
|
||||||
|
|||||||
Reference in New Issue
Block a user