DMKLocation Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in DMKLocation.h
DMKLocation.m

Overview

定位数据模型类

Other Methods

– initWithLocation:andTag:providerType:coordinateType:

快速初始化方法

- (instancetype)initWithLocation:(CLLocation *)newLocation andTag:(NSString *)tag providerType:(DMKLocationProviderType)type coordinateType:(DMKLocationCoordinateType)coordinateType

Parameters

newLocation

系统定位点

tag

唯一标识

type

定位来源

Discussion

快速初始化方法

Declared In

DMKLocation.h

Other Methods

  locationID

定位数据的唯一标识

@property (nonatomic, strong, readonly) NSString *locationID

Discussion

定位数据的唯一标识

Declared In

DMKLocation.h

  providerType

定位数据来源类型

@property (nonatomic, assign, readonly) DMKLocationProviderType providerType

Discussion

定位数据来源类型

Declared In

DMKLocation.h

  sourceType

定位精度来源

@property (nonatomic, assign, readonly) DMKLocationSourceType sourceType

Discussion

定位精度来源

Declared In

DMKLocation.h

  coordinateType

定位坐标系

@property (nonatomic, assign, readonly) DMKLocationCoordinateType coordinateType

Discussion

定位坐标系

Declared In

DMKLocation.h

  sourceTypeStr

定位精度来源字符串:@“ios_unknown"、@"ios_gps"、@"ios_wifi"、@"ios_cell"、@"didi_wifi”

@property (nonatomic, strong, readonly) NSString *sourceTypeStr

Discussion

定位精度来源字符串:@“ios_unknown"、@"ios_gps"、@"ios_wifi"、@"ios_cell"、@"didi_wifi”

Declared In

DMKLocation.h

  location

原始定位数据

@property (nonatomic, strong, readonly) CLLocation *location

Discussion

原始定位数据

Declared In

DMKLocation.h