streetsupport-web
streetsupport-web copied to clipboard
organisations sharing the same postcode do not show up on map view
reproducing the issue:
- go to https://streetsupport.net/find-help/all-service-providers/map/
- enter the postcode "M4 1LE"
- hit "find help" button
- zoom in the map
clicking on the icon shows info for Centrepoint. However, there is also the organisation Coffee4Craig there, as they share office space.
TODO:
- aggregate the data, grouping organisations that share a lat/long
- remove the purple (? i'm colour blind!) heading
- list organisations in the white remaining white section:
eg
button - "x" (close marker)
h1 - "Centrepoint - Greater Manchester" p - "Homelessness charity for 16 - 25 year olds." a - "view details"
h1 - "Coffee4Craig" p - "Holistic homelessness support" a - "view details"
ensure:
- other map listings are unaffected eg https://streetsupport.net/find-help/meals/map
- the curved corners are retained
take a look at:
https://github.com/StreetSupport/streetsupport-web/blob/develop/src/scss/partials/_card.scss https://github.com/StreetSupport/streetsupport-web/blob/develop/src/js/pages/all-organisations/map/app.js