Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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.

You can watch for the bookmark-url-change event on the viewer to be notified when the URL changes (the url property of the event is the new URL).

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!

About

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

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.