openlayers/ol3 — pull request #85 by elemoine (2012-11-03 20:53:27+00:00)
Title: Add ol.TileUrlFunction.createBboxParam

This pull request suggests adding `ol.TileUrlFunction.createBboxParam` and using it from `ol.source.TiledWMS`.

`ol.TileUrlFunction.createBboxParam` creates a *tile url function* that calculates a bbox from the `tileCoord` and the `tileGrid` and adds a `BBOX` parameter to the query string.

With this function `ol.source.TiledWMS` can use `createFromTileUrlFunctions` and no longer needs to have its own `goog.math.modulo` based calculation.

Unit-testing this function is also possible now.