Permalink
Browse files

Last bit of cache-derivative code

  • Loading branch information...
1 parent 43aa31f commit bbb4e511c1382ab5b78278ee4795d22fced7544d @tmcw tmcw committed Apr 12, 2012
Showing with 2 additions and 7 deletions.
  1. +2 −7 src/layer.js
View
@@ -213,13 +213,8 @@
* tiles based on values in valid_tile_keys from inventoryVisibleTile().
*/
adjustVisibleLevel: function(level, zoom, valid_tile_keys) {
- // for tracking time of tile usage:
- var now = new Date().getTime();
-
- if (!level) {
- // no tiles for this level yet
- return;
- }
+ // no tiles for this level yet
+ if (!level) return;
var scale = 1;
var theCoord = this.map.coordinate.copy();

0 comments on commit bbb4e51

Please sign in to comment.