總覽
GMSPlaceViewportInfo代表地球表面上的矩形定界框。
GMSPlaceViewportInfo不可變動,且在建立後無法修改。
公開成員函式 | |
(id) | - initWithNorthEast:southWest: |
對應於兩個邊角所定義的矩形區域,東北部和南西邊界。 | |
資源 | |
CLLocationCoordinate2D | northEast |
這些界限的東北角。 | |
CLLocationCoordinate2D | southWest |
這些邊界的南西角。 | |
BOOL | 有效 |
如果這個界限不包含任何點,則傳回 NO。 |
成員函式說明文件
- (id) initWithNorthEast: | (CLLocationCoordinate2D) | northEast | |
SouthWest: | (CLLocationCoordinate2D) | southWest | |
對應於兩個邊角所定義的矩形區域,東北部和南西邊界。
- 參數:
-
northEast 這些界限的東北角。 southWest 這些邊界的西南角
屬性說明文件
- (CLLocationCoordinate2D) (northEast) [read, assign] |
這些界限的東北角。
- (CLLocationCoordinate2D) southWest [read, assign] |
這些邊界的南西角。
- (BOOL) 有效 [read, assign] |
如果這個界限不包含任何點,則傳回 NO。
例如:[[GMSPlaceViewportInfo alloc] init].valid == NO.