GMSPlaceRectangularLocationOption

GMSPlaceRectangularLocationOption

函式

FOUNDATION_EXTERN ID
< GMSPlaceLocationBias,
GMSPlaceLocationRestriction >
GMSPlaceRectangularLocationOption (CLLocationCoordinate2D northEastBounds, CLLocationCoordinate2D southWestBounds)
 傳回矩形位置,以篩選邊界內的地點結果。

函式說明文件

FOUNDATION_EXTERN id<GMSPlaceLocationBias, GMSPlaceLocationRestriction> GMSPlaceRectangularLocationOption ( CLLocationCoordinate2D northEastBounds
CLLocationCoordinate2D southWestBounds
)

傳回矩形位置,以篩選邊界內的地點結果。

支援篩選功能做為限制,也就是結果必須在邊界內,或是優先於邊界內結果的偏誤。

參數:
northEastBounds邊界的東北角。
southWestBounds邊界的西南角。