diff options
Diffstat (limited to 'loleaflet/src/control/Control.PartsPreview.js')
-rw-r--r-- | loleaflet/src/control/Control.PartsPreview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loleaflet/src/control/Control.PartsPreview.js b/loleaflet/src/control/Control.PartsPreview.js index 6a40e9d02..c6cd021fb 100644 --- a/loleaflet/src/control/Control.PartsPreview.js +++ b/loleaflet/src/control/Control.PartsPreview.js @@ -496,7 +496,7 @@ L.Control.PartsPreview = L.Control.extend({ var that = this.partsPreview; setTimeout(function () { for (var i = 0; i < that._previewTiles.length; ++i) { - that._map.getPreview(i, that.options.maxWidth, that.options.maxHeight, {autoUpdate: that.options.autoUpdate, broadcast: true}); + that._map.getPreview(i, this.options.maxWidth, this.options.maxHeight, {autoUpdate: that.options.autoUpdate, broadcast: true}); } }, 1000); } |