mejackreed / Leaflet-IIIF

Leaflet plugin for viewing IIIF images
http://mejackreed.github.io/Leaflet-IIIF/examples/example.html
MIT License
138 stars 30 forks source link

Negative minzoom fix #71

Closed cbutcosk closed 6 years ago

cbutcosk commented 6 years ago

Persists the unmutated imageSizes array before the layer is added, restores the unmutated version on removal. Fixes an issue where maps with negative minZoom settings would not show a layer after it was added, removed, and then re-added to the map.

cbutcosk commented 6 years ago

Sorry for the chatty commits--the tests had all passed on my end, but I apparently hit a weird Travis build issue.