informatics-isi-edu / openseadragon-viewer

2D viewer with openseadragon
Apache License 2.0
5 stars 2 forks source link

Slider input for jump-to-z feature #82

Closed RFSH closed 3 years ago

RFSH commented 3 years ago

With the addition of the z-index input, users can jump to any specific z-index that they would like. But to do so, they would have to write the z-index. We could make this process easier by adding a slider that allows users to select z-index values from min to max. And after selecting the value, we would just call the same function as jump to z-index (if the specific z-index didn't exist its should already be handled.) So

A similar feature can be found here: http://homeros.kennedy.ox.ac.uk/webclient/img_detail/2209/?dataset=405

rastogi-bhavya commented 3 years ago

The min values means the value of the minimum available z index in the DB, similarly for max value. After the user drags to a particular value, that z index or the closest z index to that value would be shown, along with appropriate message.

Q. Do we change the z plane list after this operation?

Q. How to position the UI?