Add gutter support to TileUrlFunction

This commit is contained in:
Éric Lemoine
2013-12-09 16:03:24 +01:00
parent fd438f232b
commit e14d8add85
3 changed files with 12 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ describe('ol.TileUrlFunction', function() {
var fakeTileSource = {getTileGrid: function() {return null;}};
var params = {foo: 'bar'};
var tileUrlFunction = ol.TileUrlFunction.createFromParamsFunction(
'url', params, paramsFunction);
'url', params, 0, paramsFunction);
it('calls the passed function with the correct arguments', function() {
var args = tileUrlFunction.call(fakeTileSource,
new ol.TileCoord(0, 0, 0), projection);