(Custom) Answers for providers: Can I add search by geolocation and radius?

Hi Emily,

  1. Radius distance is shown on the location-standard card. I would copy this over to your provider card. You’ll need the {{ > distance }} partial in the template.hbs file (remember to copy the reference in the card structure at the top and where the partial is defined down below) and the distance property in the component.js file.


image

It should look like the location-standard card:

  1. You can add a static filter for radius by following the bottom of the Implementing Static Filters unit. Since you only have one vertical, you’ll want to make sure that vertical page is set up as index.html (see instructions here).

  2. This is not currently possible. Is this client seeing users search by location coordinates? From what we’ve seen, this is not common. You can submit this to the Ideas board and be sure to also include context on why or how frequently users are searching by coordinates.

1 Like