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

Annotations placed as markers on an image #1

Closed
stephenwf opened this issue Jan 18, 2018 · 1 comment
Closed

Annotations placed as markers on an image #1

stephenwf opened this issue Jan 18, 2018 · 1 comment
Labels
V&A Victoria and Albert Museum

Comments

@stephenwf
Copy link
Member

Annotations will be placed as markers on an image

In order to maintain a responsive design, we've decided to represent the regions of the image using annotation boxes with a height, width, X and Y. This will be displayed to the user as a pin.

screen shot 2018-01-18 at 15 58 50

  1. X co-ordinate of the annotation, from the target
  2. Y co-ordinate of the annotation, from the target
  3. Width of the annotation, from the target
  4. Height of the annotation, from the target
  5. X position of pin, driven by configuration (50%)
  6. Offset at the top, driven by configuration (3.5% of canvas height)
  • Dotted line won't be visible, driven by configuration
  • Area in dotted line might be click-able to view annotation (?)
@stephenwf stephenwf added this to Ready for development in V&A Canvas Panel via automation Jan 18, 2018
@stephenwf stephenwf moved this from Ready for development to Backlog in V&A Canvas Panel Jan 18, 2018
@stephenwf stephenwf moved this from Backlog to Done in V&A Canvas Panel Feb 6, 2018
@stephenwf
Copy link
Member Author

This is currently driven by CSS. You can view the CSS here:
https://github.com/digirati-co-uk/canvas-panel/blob/master/packages/canvas-panel-patchwork-plugin/Patchwork.css#L76-L116

You can see it on the site here: https://canvas-panel.netlify.com/#/patchwork

@ifar81 ifar81 added the V&A Victoria and Albert Museum label Feb 6, 2018
stephenwf pushed a commit that referenced this issue Jun 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V&A Victoria and Albert Museum
Projects
No open projects
Development

No branches or pull requests

2 participants