From 41cded608c5fe9a6852e5d852421585c8005ad43 Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Sat, 15 Mar 2014 11:40:51 -0400 Subject: [PATCH] Use viewer.addOverlay instead of drawer.addOverlay in collection mode --- src/drawer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );