Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/acdha/leaflet-dzi-experiment

Experimental deep zoom image viewer using Leaflet.js
https://github.com/acdha/leaflet-dzi-experiment

Last synced: about 1 month ago
JSON representation

Experimental deep zoom image viewer using Leaflet.js

Awesome Lists containing this project

README

        

========================================
Experimental Leaflet.js based DZI viewer
========================================

Background
----------

We have a large number of images using the `Deep Zoom Image
`_ format. Unfortunately, the `opensource release by
Microsoft `_ has not been significantly maintained and the
brunt of the modernization has been performed by a single colleague (see
https://github.com/thatcher/openseadragon)

This repository is an experiment using `Leaflet.js `_ to load the
existing DZI image tiles as part of a possible migration strategy to a project with more momentum
and which I'm currently evaluating for related mapping projects as well.

Status
------

* Experiment: http://acdha.github.com/leaflet-dzi-experiment
* Comparison: http://www.wdl.org/en/item/4032/zoom/

Issues & Oddities
-----------------

* Leaflet currently lacks a way to set boundaries for TileLayers, which causes 404s for all parts of
the viewport outside of the image extents (see https://github.com/CloudMade/Leaflet/pull/401)
* Leaflet assumes that image tiles are all 256x256. The tiles around the edge of the master image in
our DZI stacks are not constant size and so we have to override the CSS setting the image
dimensions. It's not clear whether this has a significant performance impact on any particular
clients.

License
-------

Public domain

Warranty
--------

None