diff --git a/src/drawer.js b/src/drawer.js index 4e61ec37..ef727bec 100644 --- a/src/drawer.js +++ b/src/drawer.js @@ -1067,7 +1067,7 @@ function drawTiles( drawer, lastDrawn ){ ')'; } - drawer.addOverlay( + drawer.viewer.addOverlay( viewer.element, tile.bounds );