the map adjusts based on the search input