diff --git a/README.md b/README.md index cca4b87..7f27cd1 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ $ npm install leaflet-iiif --save ### Quick and easy to get going. ``` +import 'leaflet-iiif'; + var map = L.map('map', { center: [0, 0], crs: L.CRS.Simple, @@ -77,7 +79,10 @@ Run the test suite $ npm test ``` -Access the examples at http://127.0.0.1:8080/examples/example.html +Access the examples at: + +- http://127.0.0.1:8080/examples/example.html +- http://127.0.0.1:8080/examples/manifest.html ### Leaflet-IIIF Examples diff --git a/examples/iiif-manifest-example.js b/examples/iiif-manifest-example.js index cd4601f..e8c41b5 100644 --- a/examples/iiif-manifest-example.js +++ b/examples/iiif-manifest-example.js @@ -7,7 +7,7 @@ map = L.map('map', { zoom: 0 }); -var manifestUrl = 'http://iiif.bodleian.ox.ac.uk/iiif/manifest/9fb27615-ede3-4fa0-89e4-f0785acbba06.json'; +var manifestUrl = 'https://iiif.bodleian.ox.ac.uk/iiif/manifest/2d063a5f-3f17-4133-b02b-d3a2c5c8348b.json'; // Grab a IIIF manifest $.getJSON(manifestUrl, function(data) {