hhaccessibility / hhaccessibility.github.io

http://hhaccessibility.github.io/main/
7 stars 41 forks source link

Location Search: Show accessibility in location search map markers #738

Open joshi1983 opened 5 years ago

joshi1983 commented 5 years ago

One central purpose to AccessLocator is quickly seeing accessibility of locations the user is likely to visit and that is hindered when they need to go to individual location reports to find it. We want people to see some accessibility information, even just a check or X on the location search map.

There is a calculated accessibility percentage that shows in the table view. The accessible marker can be used when that accessibility percentage is 50% or greater.

For now, all markers look the same regardless of accessibility like this: image

Here are a couple marker images that should be used for the change: inaccessible-marker

accessible-marker

This task will require having working Google Maps API keys locally which requires setting up personal keys, linking them to a credit card, and copying them into the .env file.

This will probably involve making changes to:

stephanosm commented 5 years ago

That is a good idea. I have one concern though as most locations are not rated or not accessible I am worrying we will have not many green ones. Should we include 2 more options, e.g. one empty with no icon for a not-rated location and one with exclamation or question mark for a partial accessible locations. Also we need to decide what is partial and what is accessible. I recommend an Accessible to be over 65% and a partial from 40-65%.

joshi1983 commented 5 years ago

The lack of ratings should be filled in with ratings from similar locations in the next few weeks so I think we should focus on the case where we have at least some guess as to what the accessibility ratings should be.

This might be a good image for the partially accessible locations: partial-accessible-marker

joshi1983 commented 5 years ago

@hariharan2684 here are the rating ranges for each marker image.

This work should not affect how the clusters are indicated. The clusters were added by work on #721. If you understand how they should behave, you know how to test for them.