Local results are based on relevance, distance, and prominence. With the combination of these factors, Google provides the best match to the searcher’s queries. Google’s algorithm is designed in a way that takes into consideration these required factors to set their ranking.