Skip to content

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

@joshi1983

Description

@joshi1983

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:

  • app/public/js/location_search_map.js
  • app/resources/views/pages/location_search/search.blade.php
  • app/public/images/maps directory to include the marker images
  • app/app/Http/Controllers/LocationSearchController.php

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions