Skip to content

Commit

Permalink
Revert "Allow layer to be passed to thumb method."
Browse files Browse the repository at this point in the history
This reverts commit 72ac391.
  • Loading branch information
Young Hahn committed Jun 6, 2011
1 parent b85459f commit 3eb569b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions models/Tileset.bones
Expand Up @@ -25,10 +25,9 @@ model = Backbone.Model.extend({
var y = parseInt((1.0 - Math.log(Math.tan(lat_rad) + (1 / Math.cos(lat_rad))) / Math.PI) / 2.0 * Math.pow(2, z));
return [z, x, y];
},
thumb: function(zxy, layer) {
thumb: function(zxy) {
zxy = zxy || this.toZXY();
layer = layer || this.layerName();
return this.layerURL()[0] + ['1.0.0', layer, zxy[0], zxy[1], zxy[2]].join('/') + '.png';
return this.layerURL()[0] + ['1.0.0', this.layerName(), zxy[0], zxy[1], zxy[2]].join('/') + '.png';
},
wax: function() {
return {
Expand Down

0 comments on commit 3eb569b

Please sign in to comment.