Is distance from the map centroid a large ranking factor for Google Business Profiles?

How much of a ranking factor is a location's distance from the map centroid?

The centroid of a town/city is only essential for searches performed within the query's location.

For example, a search for a “hotel in Miami” will result in a Google search focusing on the center of Miami and moving outwards to find relevant businesses.