ProjectMirador / mirador

An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.
https://projectmirador.org
Apache License 2.0
549 stars 258 forks source link

Support for virtual ruler #305

Closed snydman closed 4 years ago

snydman commented 9 years ago

parity with 1.0rc

aeschylus commented 9 years ago

Oh my. Do we have any fixture objects for this? Or should the scale again be an "add your own data" affair? @azaroth42?

azaroth42 commented 9 years ago

If someone has the digitized object, I can build a fixture manifest for it.

markmatney commented 8 years ago

I've implemented a prototype (using this OpenSeadragon plugin as the base) to fit the use cases for UCLA LIbrary's Mirador project. You can see a demo of it here. The numbers on the ruler are useless right now, since I haven't configured it to grab the physical dimension data yet.

In the interest of future development, I also created a design document that describes a UI for the ruler that I'd like to use. Please feel free to share, comment, or edit. If there's time at an upcoming community call, I'd like to discuss this doc.

azaroth42 commented 8 years ago

:+1: !

The physical dimension data should be provided in the manifest as per:
http://iiif.io/api/annex/services/#physical-dimensions

markmatney commented 8 years ago

Got it. I am working on adding that functionality, as well as reorganizing my code.

aeschylus commented 8 years ago

Very cool. I can see this being merged in soon from a PR if we can get the new menu in. I left a few comments in the design doc. See: https://docs.google.com/document/d/19QQPV4DTMCa4BZohrmTEyIbkM2EkiXcWqo79ePcozQA/edit#heading=h.4c7gfqbeegc

markmatney commented 6 years ago

Update: I have reorganized my code into a "plugin" (https://github.com/UCLALibrary/mirador-ruler), making it one of two ruler plugins (that I know of) (https://github.com/dbmdz/mirador-plugins/tree/master/PhysicalRuler)

camillevilla commented 4 years ago

This ticket is being closed as part of the Mirador 3 issues review. We encourage all Mirador 2 implementers to try out Mirador 3 and leave feedback in new tickets.

Considerable effort went into improving the plugin system for Mirador 3. If you're interested in working on plugin development, please join us at a bi-weekly Mirador community call or #mirador-dev in IIIF slack.