Automattic / Automattic/jetpack

Feature Request: Cluster map markers

Open
#32,643 0 comments 0 reactions 0 assignees View on GitHub
[Block] Map [Plugin] Jetpack [Pri] Low New Feature
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### What

Nearby markers should be clustered for UX

### How

Currently nearby markers overlap each other, and are indistinguishable until you zoom in:

Screenshot 2023-08-23 at 9 28 26 AM
Screenshot 2023-08-23 at 9 28 42 AM
Screenshot 2023-08-23 at 9 28 54 AM

[MapBox supports clustering](https://docs.mapbox.com/mapbox-gl-js/example/cluster/), and IMO it'd be a good feature to add.

Contributor guide

Open the contributing guide

Research direction

Start with Jetpack's map-marker implementation and compare its current behavior with the linked Mapbox clustering example. Confirm how nearby markers are represented and rendered, then verify that overlapping markers are grouped and become individually distinguishable as the map is zoomed; no source file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
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.