Skip to content

[Frontend] Implement Map Vendor Pin Clustering #93

@jpdevhub

Description

@jpdevhub

Description

We recently integrated real-world OSM data into our MapPage.tsx. If a user zooms out in a dense area, thousands of pins might render at once, causing severe DOM lag.

Tasks

  1. Use react-leaflet-cluster or a similar Supercluster library to group nearby markers into a single cluster bubble.
  2. Ensure the clusters expand smoothly when clicked or zoomed in.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions