[英]Google maps or other service to get list of places within specified bounds?
[英]Google Maps api not returning all places within bounds
我正在搜索關鍵字范圍內的地點:
bounds = new google.maps.LatLngBounds(
new google.maps.LatLng(25.87965228677778, -80.1950336785298),
new google.maps.LatLng(25.995437713222234, -80.09846764294042)
);
在此示例中,我正在搜索“發型師” http://jsfiddle.net/9Fqjn/2/
在這里,我正在Google官方地圖中進行相同的搜索- 鏈接
您會看到Google Maps返回更多結果。 為什么我沒有在自己的地圖上得到所有的地方?
我剛剛發現,默認情況下,每個地方搜索都會在每個查詢中返回多達20個建立結果。 需要更多位置的分頁 。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.