NUKnightLab / NUKnightLab/StoryMapJS

Minimap issues when path crosses International Date Line

Open
#381 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
248
Forks
61
Avg merge
1m
Merged PRs (30d)
1

Description

A Zendesk user reported an issue where the minimap got stuck when the map path started in Canada and then went to Shanghai. I visually verified.

I tried to create a demonstration map. Mine shows a different problem, in which the minimap starts off "stuck" in Europe, but then contracts to a tiny point for most other slides.

Possibly related to #369 ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening the linked demonstration map and reproducing the minimap behavior across slides, especially the Canada-to-Shanghai path and the Europe-to-tiny-point case. Trace the minimap behavior in the JavaScript map interface; done means paths crossing the International Date Line keep a correctly positioned and sized minimap.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.