Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RELOAD TILESOURCE #1082

Closed
rferreiroa opened this issue Nov 18, 2016 · 3 comments
Closed

RELOAD TILESOURCE #1082

rferreiroa opened this issue Nov 18, 2016 · 3 comments
Labels

Comments

@rferreiroa
Copy link

I have a basic question. If i loaded an image in tileSources, is there a function to reload tileSources with other image to change the image in the viewer?
THx

@michaelw3
Copy link

michaelw3 commented Nov 21, 2016

you could use viewer.close() to unload all existing images and then viewer.open(tileSourceArray)
to load a new array of images into the viewer.

@makoychan
Copy link

Hi can this work on .jpg? i am trying to reload but my files are jpg, i followed the steps here but its not working

@iangilman
Copy link
Member

@makoychan I've answered your question here: #587 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants