[CODE4LIB] Leaflet-IIIF

2014-12-09 Thread Jack Reed
I wanted to send this weekend hack project out to the Code4Lib community as others may find it useful (or want to contribute). I created a Leaflet http://leafletjs.com/ plugin for viewing IIIF images: https://github.com/mejackreed/Leaflet-IIIF . Check out the demo

Re: [CODE4LIB] Leaflet-IIIF

2014-12-09 Thread todd.d.robb...@gmail.com
Wow! That turned out great! Is the asset prep any different to make the resource available via LeafletJS? Cheers! –Tod On Tue, Dec 9, 2014 at 10:58 AM, Jack Reed pjr...@stanford.edu wrote: I wanted to send this weekend hack project out to the Code4Lib community as others may find it useful

Re: [CODE4LIB] Leaflet-IIIF

2014-12-09 Thread todd.d.robb...@gmail.com
Cool. Thanks for the heads up. On Tue, Dec 9, 2014 at 11:22 AM, Jack Reed pjr...@stanford.edu wrote: Not that I’m aware of. Just send Leaflet a IIIF info.json endpoint. L.tileLayer.iiif('http://example.com/iiifimage.jp2/info.json').addTo(map); I have tested it with 3 different institutions

Re: [CODE4LIB] Leaflet-IIIF

2014-12-09 Thread Jack Reed
Not that I’m aware of. Just send Leaflet a IIIF info.json endpoint. L.tileLayer.iiif('http://example.com/iiifimage.jp2/info.json').addTo(map); I have tested it with 3 different institutions IIIF services. Jack On Dec 9, 2014, at 10:18 AM, todd.d.robb...@gmail.com