Use viewer.addOverlay instead of drawer.addOverlay in collection mode

This commit is contained in:
Antoine Vandecreme 2014-03-15 11:40:51 -04:00
parent ecf10f5911
commit 41cded608c

View File

@ -1067,7 +1067,7 @@ function drawTiles( drawer, lastDrawn ){
')'; ')';
} }
drawer.addOverlay( drawer.viewer.addOverlay(
viewer.element, viewer.element,
tile.bounds tile.bounds
); );