Skip to content

acdha/leaflet-dzi-experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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

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

About

Experimental deep zoom image viewer using Leaflet.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published