streetsupport-web icon indicating copy to clipboard operation
streetsupport-web copied to clipboard

organisations sharing the same postcode do not show up on map view

Open vincelee888 opened this issue 6 years ago • 4 comments

reproducing the issue:

  1. go to https://streetsupport.net/find-help/all-service-providers/map/
  2. enter the postcode "M4 1LE"
  3. hit "find help" button
  4. 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

vincelee888 avatar Oct 18 '18 11:10 vincelee888