Adding interactive filters for Google Map integration

Hello all! For a real estate client I’m working with, I’m wondering if it would be possible to add filter functionality to Google Maps API integration so that users can filter locations by property type or other attributes.

This is the idea I’m hoping to implement:

Thanks in advance for any ideas for solutions!