Closed cmrRose closed 7 years ago
Using the new version of Leaflet causes this error: "TypeError: this.getPane(...) is undefined" which seems to be connected to line 49 of zoomify_layer.js: "ZoomifyLayer.super.onAdd.call(this, map);"
Blog about zoomify: http://blog.mastermaps.com/2013/06/showing-zoomify-images-with-leaflet.html
Zoomify Github repo: https://github.com/turban/Leaflet.Zoomify
Another version of the Zoomify js: https://github.com/thunfischbrot/Leaflet.Zoomify/blob/master/L.TileLayer.Zoomify.js
Instead of Zoomify, there is a built in Leaflet solution called Image Overlay, which can use the full-resolution image instead of the tile-set. http://leafletjs.com/examples/crs-simple/crs-simple.html
This allows us to use the single full-res image instead of storing a tileset.
Esri-Leaflet works with Leaflet from this CDN: https://unpkg.com/leaflet@1.0.3/dist/leaflet.css
Zoomify was working with a local copy of Leaflet in the /lib folder. 2013? Unspecified version.
Ideally, we use npm to manage the leaflet version anyway.