NUKnightLab / NUKnightLab/StoryMapJS

improved algorithm for overview map centerpoint, or user selected

Open
#271 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

a Zendesk User has a story where the default center for the map doesn't focus attention on the majority of points.

We should be able to compute the average center of all the points on the map, or perhaps simply allow users to set the centerpoint in the editor.

If we're considering this, would we consider allowing users to override the zoom level on the overview screen too?

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 locating the overview map center calculation and the editor entry points for map settings. Compare the proposed average center with user-selected center and zoom options, then clarify which behavior is intended before implementation. Done means the overview focuses appropriately and any selected center or zoom persists as specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.