diff --git a/lib/torque/provider/tilejson.js b/lib/torque/provider/tilejson.js index 93c3467..e4df63c 100644 --- a/lib/torque/provider/tilejson.js +++ b/lib/torque/provider/tilejson.js @@ -249,11 +249,13 @@ var limit_x = Math.pow(2, zoom); var corrected_x = ((coord.x % limit_x) + limit_x) % limit_x; var index = Math.abs(corrected_x + coord.y) % subdomains.length; + var extra = this._extraParams(); var url = this.templateUrl .replace('{x}', corrected_x) .replace('{y}', coord.y) .replace('{z}', zoom) .replace('{s}', subdomains[index]) + url += extra; torque.net.get( url , function (data) { if (data && data.responseText) { var rows = JSON.parse(data.responseText);