codeforboston / migrant_service_map

Refugees welcome
https://migrantservicemap.com
MIT License
25 stars 60 forks source link

Add a cluster popup to show providers in a cluster #239

Closed ericjbowman closed 4 years ago

ericjbowman commented 5 years ago

https://trello.com/c/kcuYRtEt Hovering over cluster shows a list of first 9 providers. If there are more than 9, it says "{remainder} more..." cluster-popup

alexjball commented 5 years ago

With this PR, cluster icons are no longer shown, but only at the starting zoom level. To reproduce, open the map and select all provider types (don't zoom). They show up again if you zoom in or out.

no-cluster-icons

alexjball commented 5 years ago

Hey, let's pair this on Tuesday if you have time! The functionality is great and I love the look of the popup--maybe we should update the icon popups to use similar styling (in another PR)? Also two minor issues I found playing with it: