An OpenSeadragon plugin for updating the zoom/pan in the page URL.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
LICENSE
README.md
changelog.txt
demo.html
openseadragon-bookmark-url.js
package.json

README.md

Bookmark URL

An OpenSeadragon plugin for updating the zoom/pan in the page URL.

Usage

Create your OpenSeadragon viewer and then:

viewer.bookmarkUrl();

It'll take the viewer to wherever the page's hash parameters point, and it'll update the page URL with hash parameters.

See demo.html for an example. You can also see it in the wild here: https://minecraft.greener.ca/byblos/map/overworld/

Sponsored By

Thanks to @jason-green-io for the generous support!