These are chat archives for openseadragon/openseadragon

14th
Jun 2018
James Gorrie
@jamesgorrie
Jun 14 2018 07:55

Hello all! I have a super simple question, but am new to OS so hopefully not annoying.
I have looked online, but can't find a simple example of how I might be able to update my URL with the coords of the Viewport?

We are currently using a really simple, single IIIF image. We could use the viewport-change event, but that fires hyper regularly.
More like a viewport-updated once it's zoomed, scrolled etc?

Ian Gilman
@iangilman
Jun 14 2018 16:10
@jamesgorrie This plugin should do what you want: https://github.com/openseadragon/bookmark-url
James Gorrie
@jamesgorrie
Jun 14 2018 16:12
@iangilman :+1:
Thanks - I’ll have a play around.
Ian Gilman
@iangilman
Jun 14 2018 16:13
Great site by the way! It would be great to add to http://openseadragon.github.io/examples/in-the-wild/ :)
James Gorrie
@jamesgorrie
Jun 14 2018 16:13
Thanks a million! We’re going to be adding way more content soon.
Ian Gilman
@iangilman
Jun 14 2018 16:14
Awesome :)
James Gorrie
@jamesgorrie
Jun 14 2018 16:14
Where are the docs hosted? I can’t see them in an obvious place in the repo?
Ian Gilman
@iangilman
Jun 14 2018 16:14
You mean the "in the wild" page?
James Gorrie
@jamesgorrie
Jun 14 2018 16:14
Yip
I felt it was better to keep the actual library separate from the website.
James Gorrie
@jamesgorrie
Jun 14 2018 16:15
:sparkles:
Makes sense.
I quite often find myself updating both at the same time, so try to keep them together, but really new to this project. Looking forward to getting invovled.
Ian Gilman
@iangilman
Jun 14 2018 16:16
Yeah, I think it's just a matter of how big both repositories are...
... and welcome! Glad to have you here :)
James Gorrie
@jamesgorrie
Jun 14 2018 16:27
openseadragon/site-build#195
Ian Gilman
@iangilman
Jun 14 2018 16:49
Awesome, thank you! I'll check it out and get it deployed :)
James Gorrie
@jamesgorrie
Jun 14 2018 16:51
Thank you!