Skip to content

Commit

Permalink
Merge pull request #91 from szmoon/example-and-readme-updates
Browse files Browse the repository at this point in the history
Manifest example and readme updates
  • Loading branch information
mejackreed authored Jan 20, 2022
2 parents 3a83780 + c17da1c commit 6cb256e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/iiif-manifest-example.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6cb256e

Please sign in to comment.