I am working on developing a website that lists used cars for sale, and I require guidance on how to add location-based filters for buyers and sellers.
The website’s most critical feature is to enable buyers to filter car listings by location, specifically by city, region/state, or country. Additionally, sellers should be able to select the location for their listings when creating them, so buyers can easily find cars in their preferred location.
As a developer, I am unsure about the best way to implement this feature. I am considering using a local database of locations or integrating Google API or a similar service to create an extensive location database.
I would appreciate any advice or suggestions on how to develop location-based filters that are user-friendly and easy for both buyers and sellers to use. Thank you for your help!