Google places api is used to find business location near to the current location. What is the distance limit for that? I can't find some places far from the cur开发者_运维知识库rent location. Its possible to find near locations.
The places API documentation for a place search request says...
"The maximum allowed radius is 50 000 meters"
Don't know why nobody else has answered with this. Maybe that was added to the docs recently.
radius
— Defines the distance (in meters) within which to return place results. The maximum allowed radius
is 50 000 meters.
I've been using Google Places API for some time now and I've found the radius distance limit to be 100 miles (expressed in meters). After this, I get INVALID_RESULT.
精彩评论