FMKNaviConstraint Class Reference
Inherits from | NSObject |
---|---|
Declared in | FMKNaviConstraint.h |
– initWithMapPath:
初始化路径约束
- (instancetype)initWithMapPath:(NSString *)mapPath
Parameters
mapPath |
地图数据路径 |
---|
Return Value
路径约束对象
Discussion
初始化路径约束
Declared In
FMKNaviConstraint.h
– updateNaviConstraintDataWithPoints:groupID:
更新路径约束所需参数
- (void)updateNaviConstraintDataWithPoints:(NSArray *)mapPoints groupID:(NSString *)groupID
Parameters
mapPoints |
地图坐标点集合 |
---|---|
groupID |
所在楼层ID |
Discussion
更新路径约束所需参数
Declared In
FMKNaviConstraint.h
– naviConstraintByLastPoint:currentMapPoint:
路径约束点计算
- (FMKNaviConstraintResult)naviConstraintByLastPoint:(FMKMapPoint)lastMapPoint currentMapPoint:(FMKMapPoint)currentMapPoint
Parameters
lastMapPoint |
上一个地图坐标 |
---|---|
currentMapPoint |
当前地图坐标 |
Return Value
路径约束结果
Discussion
路径约束点计算
Declared In
FMKNaviConstraint.h