Add note about extent

This commit is contained in:
Andreas Hocevar
2015-06-16 18:47:50 +02:00
parent d628f6b098
commit d6bb13b54b
+4 -3
View File
@@ -6149,8 +6149,8 @@ olx.tilegrid.TileGridOptions.prototype.minZoom;
/** /**
* The tile grid origin, i.e. where the `x` and `y` axes meet (`[z, 0, 0]`). * The tile grid origin, i.e. where the `x` and `y` axes meet (`[z, 0, 0]`).
* Tile coordinates increase from left to right and from bottom to top. Default * Tile coordinates increase from left to right and from bottom to top. If not
* is null. * specified, `extent` or `origins` must be provided.
* @type {ol.Coordinate|undefined} * @type {ol.Coordinate|undefined}
* @api stable * @api stable
*/ */
@@ -6161,7 +6161,8 @@ olx.tilegrid.TileGridOptions.prototype.origin;
* Tile grid origins, i.e. where the `x` and `y` axes meet (`[z, 0, 0]`), for * Tile grid origins, i.e. where the `x` and `y` axes meet (`[z, 0, 0]`), for
* each zoom level. If given, the array length should match the length of the * each zoom level. If given, the array length should match the length of the
* `resolutions` array, i.e. each resolution can have a different origin. Tile * `resolutions` array, i.e. each resolution can have a different origin. Tile
* coordinates increase from left to right and from bottom to top. * coordinates increase from left to right and from bottom to top. If not
* specified, `extent` or `origin` must be provided.
* @type {Array.<ol.Coordinate>|undefined} * @type {Array.<ol.Coordinate>|undefined}
* @api stable * @api stable
*/ */