Google uses a variety of factors to determine which businesses to display for 'near me' searches, including relevance, distance, and prominence.