NUKnightLab / NUKnightLab/StoryMapJS
Minimap corner thumbnail map on gigapixel image gets cutoff
@mazhang2718 is already working on this.
Since Apr 3, 2017.
- Dominant language
- JavaScript
- Stars
- 248
- Forks
- 61
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
Reported in Zendesk #4372. The zoomify image in question has the following image properties:
<IMAGE_PROPERTIES WIDTH="6375" HEIGHT="3924" NUMTILES="543" NUMIMAGES="1" VERSION="1.8" TILESIZE="256"/>
With Treat-as image setting in StoryMap, the edges of the minimap view are being cutoff. Some of the navigation points are actually near the edges of the map and are thus not showing in the minimap, making the cutoff problem worse from a UX perspective.
It is not clear if there may be problems with the zoomify image or tiles itself, or if this is just a problem in the leaflet code that has not surfaced before now.
Tiles for this zoomify image are not consistently 256 pixels as indicated by image properties, although there is some indication that edge tiles should not be expected to necessarily match the tile size.
Current theories are that the issue lies specifically in the leaflet code which we may or may not have control over. Further investigation needs to be done wrt the zoomify image specifically. It is recommended that a new StoryMap be created from a distinct zoomify image which replicates the properties of this image as listed above. Given this new StoryMap with a different image of the same properties, do we see the same behavior? If we lay points near the edges, do these fall off of the minimap view?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.