From d6bb13b54b161b756d11500fbe4459b619e7f2fd Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Tue, 16 Jun 2015 18:47:50 +0200 Subject: [PATCH] Add note about extent --- externs/olx.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 39910f962a..3d8444a6ca 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -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]`). - * Tile coordinates increase from left to right and from bottom to top. Default - * is null. + * Tile coordinates increase from left to right and from bottom to top. If not + * specified, `extent` or `origins` must be provided. * @type {ol.Coordinate|undefined} * @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 * 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 - * 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.|undefined} * @api stable */