Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from IIIF/addPointSelector
Fixing image based point selector
- Loading branch information
Showing
5 changed files
with
102 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
{ | ||
"@context": "http://iiif.io/api/presentation/3/context.json", | ||
"id": "http://localhost:4000/recipe/0135-annotating-point-in-canvas/manifest.json", | ||
"type": "Manifest", | ||
"label": { | ||
"en": [ | ||
"Using a point selector for annotating a location on a map." | ||
] | ||
}, | ||
"summary": { | ||
"en": [ | ||
"A map containing an point with an annotation of the location." | ||
] | ||
}, | ||
"items": [ | ||
{ | ||
"id": "http://localhost:4000/recipe/0135-annotating-point-in-canvas/canvas.json", | ||
"type": "Canvas", | ||
"label": { | ||
"en": [ | ||
"Chesapeake and Ohio Canal Pamphlet" | ||
] | ||
}, | ||
"height": 5212, | ||
"width": 7072, | ||
"items": [ | ||
{ | ||
"id": "http://localhost:4000/recipe/0135-annotating-point-in-canvas/contentPage.json", | ||
"type": "AnnotationPage", | ||
"items": [ | ||
{ | ||
"id": "http://localhost:4000/recipe/0135-annotating-point-in-canvas/content.json", | ||
"type": "Annotation", | ||
"motivation": "painting", | ||
"body": { | ||
"id": "https://iiif.io/api/image/3.0/example/reference/43153e2ec7531f14dd1c9b2fc401678a-88695674/full/max/0/default.jpg", | ||
"type": "Image", | ||
"format": "image/jpeg", | ||
"height": 5212, | ||
"width": 7072, | ||
"service": [ | ||
{ | ||
"id": "https://iiif.io/api/image/3.0/example/reference/43153e2ec7531f14dd1c9b2fc401678a-88695674", | ||
"type": "ImageService3", | ||
"profile": "level1" | ||
} | ||
] | ||
}, | ||
"target": "http://localhost:4000/recipe/0135-annotating-point-in-canvas/canvas.json" | ||
} | ||
] | ||
} | ||
], | ||
"annotations": [ | ||
{ | ||
"id": "http://localhost:4000/recipe/0135-annotating-point-in-canvas/page/p2/1", | ||
"type": "AnnotationPage", | ||
"items": [ | ||
{ | ||
"id": "http://localhost:4000/recipe/0135-annotating-point-in-canvas/annotation/p0002-tag", | ||
"type": "Annotation", | ||
"label": { | ||
"en": [ | ||
"Annotation containing the name of the place annotated using the PointSelector." | ||
] | ||
}, | ||
"motivation": "tagging", | ||
"body": { | ||
"type": "TextualBody", | ||
"value": "Town Creek Aqueduct", | ||
"language": "en", | ||
"format": "text/plain" | ||
}, | ||
"target": { | ||
"type": "SpecificResource", | ||
"source": "http://localhost:4000/recipe/0135-annotating-point-in-canvas/canvas.json", | ||
"selector": { | ||
"type": "PointSelector", | ||
"x": 3385, | ||
"y": 1464 | ||
} | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters