NCMBGeoPoint Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | CLLocationManagerDelegate |
| Declared in | NCMBGeoPoint.h |
+ geoPoint
NCMBGeoPointオブジェクトを作成。緯度、経度には0.0が設定される。
+ (NCMBGeoPoint *)geoPointReturn Value
geoPoint NCMBGeoPointクラスのインスタンス
Declared In
NCMBGeoPoint.h
+ geoPointWithLatitude:longitude:
NCMBGeoPointオブジェクトを作成。緯度、経度には引数で指定したものが設定される。
+ (NCMBGeoPoint *)geoPointWithLatitude:(double)latitude longitude:(double)longitudeParameters
latitude |
緯度 |
|---|---|
longitude |
軽度 |
Return Value
geoPoint NCMBGeoPointクラスのインスタンス
Declared In
NCMBGeoPoint.h
+ geoPointWithLocation:
NCMBGeoPointオブジェクトを作成。緯度、経度には引数のCLLocationが示す値が設定される。
+ (NCMBGeoPoint *)geoPointWithLocation:(CLLocation *)locationParameters
location |
CCLocation型の位置情報 |
|---|
Return Value
NCMBGeoPoint型のインスタンス
Declared In
NCMBGeoPoint.h
+ geoPointForCurrentLocationInBackground:
NCMBGeoPointオブジェクトを非同期で作成。緯度、経度にはGPS等で取得した端末の現在位置が設定される。
+ (void)geoPointForCurrentLocationInBackground:(NCMBGeoPointHandler)geoPointHandlerParameters
geoPointHandler |
geoPointとerrorのHandler |
|---|
Declared In
NCMBGeoPoint.h