finished map-based filtering by location