EddieHubCommunity / EddieHubLive

Map to show EddieHub contributors
https://live.eddiehub.io
MIT License
47 stars 39 forks source link

[FEATURE] When new points added to the map, zoom should set bounds to have all visible #95

Open amandamartin-dev opened 1 year ago

amandamartin-dev commented 1 year ago

Description

Currently we are using a fixed zoom on map load and the "Pan to marker" zoom out. This can exclude new contributors to the map who fall naturally outside of the bounds of this fixed area.

To increase UX and make sure all contributors are seen on load, adjust the map zoom to be dynamic based on the points.

Default: current zoom can stay One point: center on that points location (open to other ideas) Two or more points: zoom/map bounds should encompass all points in the visible area

Screenshots

No response

Additional information

No response

amandamartin-dev commented 1 year ago

editttt edit comment for data again

Nitishupkr commented 1 year ago

can i work on this issue

amandamartin-dev commented 1 year ago

can i work on this issue

sure!