开发者

What is the distance limit of Google Places API?

开发者 https://www.devze.com 2023-03-14 03:41 出处:网络
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 pos

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消