These are chat archives for openseadragon/openseadragon

23rd
Apr 2018
{ gilles : ''François'' }
@jilfransoi_twitter
Apr 23 2018 08:06
That is perfect, thanks a lot !
Tammy DiPrima
@tdiprima
Apr 23 2018 20:52
I’m doing custom overlays, and I have a couple of questions. 1) There exists a viewer.addTiledImage(…), is there no viewer.removeTiledImage(…)? 2) If I use viewer.addTiledImage(replace:true), am I expected to keep track of the position of the corresponding element in viewer.world and pass it in as an option like index: idx where idx = some number?
Ian Gilman
@iangilman
Apr 23 2018 21:09
@tdiprima to remove an image, use viewer.world.removeItem. For your second question, yes, that's correct. You can use viewer.world.getIndexOfItem if you don't know the index.