passes tile object to layer

This commit is contained in:
Francisco Dans 2016-07-04 18:49:12 +02:00
parent 7f75022168
commit 1ff54b9018

View File

@ -27,6 +27,7 @@ L.TorqueLayer = L.CanvasLayer.extend({
}
options.tileLoader = true;
this.keys = [0];
this._tiles = {};
Object.defineProperty(this, 'key', {
get: function() {
return this.getKey();