diff --git a/externs/olx.js b/externs/olx.js index ba66e8c77b..e61df05584 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -3990,7 +3990,11 @@ olx.source.TileWMSOptions.prototype.logo; /** - * Tile grid. + * Tile grid. Base this on the resolutions, tilesize and extent supported by the + * server. + * If this is not defined, a default grid will be used: if there is a projection + * extent, the grid will be based on that; if not, a grid based on a global + * extent with origin at 0,0 will be used. * @type {ol.tilegrid.TileGrid|undefined} */ olx.source.TileWMSOptions.prototype.tileGrid; @@ -4909,21 +4913,22 @@ olx.tilegrid.TileGridOptions; /** - * Minimum zoom. + * Minimum zoom. Default is 0. * @type {number|undefined} */ olx.tilegrid.TileGridOptions.prototype.minZoom; /** - * Origin. + * Origin. Default is null. * @type {ol.Coordinate|undefined} */ olx.tilegrid.TileGridOptions.prototype.origin; /** - * Origins. + * Origins. If given, the array should match the `resolutions` array, i.e. + * each resolution can have a different origin. * @type {Array.