You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
I'm following your guide to develop a similar application. I am confused to how the City filter works. It doesn't seem like you are using the cafes that are passed through the API. Is it based on the city_id in on the cafe model?
The text was updated successfully, but these errors were encountered:
Hi @tjr5269 Sorry for the confusion, I've been working on the article for the city filter. The city filter is populated through the route /api/v1/cities. When the city is selected, it zooms to the coordinates that are at the center of the city. The filtering of the city is based on the cafe and the city_id on the cafe model for right now. That's what determines what is shown when the filter is selected.
Hope that helps!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm following your guide to develop a similar application. I am confused to how the City filter works. It doesn't seem like you are using the cafes that are passed through the API. Is it based on the city_id in on the cafe model?
The text was updated successfully, but these errors were encountered: