Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Annotation #40

Closed
7 of 14 tasks
digitaldogsbody opened this issue May 13, 2022 · 3 comments · Fixed by #74
Closed
7 of 14 tasks

Add Annotation #40

digitaldogsbody opened this issue May 13, 2022 · 3 comments · Fixed by #74
Assignees
Labels
helper Helper method to be added

Comments

@digitaldogsbody
Copy link
Member

Description

This helper will add an existing Annotation to the object's annotations key

Function name / Parameters / Return

Function name: .add_annotation(annotation)

Parameters: annotation - the Prezi3 Annotation object to be added

Returns: None

Objects

  • Base Object (all Prezi3 Classes)
  • Collection
  • Manifest
  • Canvas
  • Range
  • AnnotationCollection
  • AnnotationPage
  • Annotation
  • Content Resource - Image
  • Content Resource - Video
  • Content Resource - Text
  • Service
  • Provider
  • Other - please list below

Considerations

Annotations must exist within an AnnotationPage object, so the helper must create and add one if one is not already present. Otherwise the Annotation should be added to the first existing AnnotationPage

@digitaldogsbody digitaldogsbody added the helper Helper method to be added label May 13, 2022
@glenrobson
Copy link
Contributor

Use case for content resources is if you want to annotate a particular image / layer rather than the constructed canvas.

@giacomomarchioro
Copy link
Contributor

I was wondering if a user wants to create multiple annotation pages (if this makes sense) should we provide a parameter to append the new annotation to a new annotation page?

@robcast robcast self-assigned this May 27, 2022
@robcast robcast mentioned this issue May 27, 2022
14 tasks
@glenrobson
Copy link
Contributor

I've added annotations to Content Resources in:

IIIF/presentation-validator#141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
helper Helper method to be added
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants