#include <BMKBackgroundNavigationView.h>
◆ renderWithMapStatus:enable3D:fitScale:mapScreenExtOffset:
- (void) renderWithMapStatus: |
|
(BMKMapStatus *) | mapstatus |
enable3D: |
|
(BOOL) | enable3D |
fitScale: |
|
(CGFloat) | fitScale |
mapScreenExtOffset: |
|
(CGPoint) | mapScreenExtOffset |
渲染方法,缩放时起终点、途径点导航图标和罗盘保持原尺寸,路线,引导线保持原宽度
◆ updateNaviLocationInfo:
更新导航小车绑路后实时位置,方向及绑路后路线形状点索引
◆ updateRouteInfo:
◆ compassIcon
◆ compassIconSize
- (CGSize) compassIconSize |
|
readwritenonatomicassign |
◆ dataSource
BMKBackgroundNavigationView的dataSource
◆ endPoint
- (CLLocationCoordinate2D) endPoint |
|
readwritenonatomicassign |
◆ endPointIcon
- (UIImage*) endPointIcon |
|
readwritenonatomicstrong |
◆ endPointIconOffset
- (CGPoint) endPointIconOffset |
|
readwritenonatomicassign |
设置终点图标偏移量,默认图片底部中心在经纬度位置(0.0,-0.5),X轴负数向左,Y轴负数向上片,范围值-0.5~0.5
◆ endPointIconSize
- (CGSize) endPointIconSize |
|
readwritenonatomicassign |
◆ guideLineColor
- (UIColor*) guideLineColor |
|
readwritenonatomicstrong |
是否支持绘制引导线(当前位置偏离路线时),默认蓝色虚线
◆ guideLineWidth
- (CGFloat) guideLineWidth |
|
readwritenonatomicassign |
是否支持绘制引导线(当前位置偏离路线时),默认2point,范围1~30point
◆ lineWidth
设置路线线宽,默认:10point,范围1~30point
◆ mapview
◆ navigationIcon
- (UIImage*) navigationIcon |
|
readwritenonatomicstrong |
◆ navigationIconSize
- (CGSize) navigationIconSize |
|
readwritenonatomicassign |
◆ needDrawCompass
◆ needDrawEndPoint
- (BOOL) needDrawEndPoint |
|
readwritenonatomicassign |
◆ needDrawGuideLine
- (BOOL) needDrawGuideLine |
|
readwritenonatomicassign |
是否支持绘制引导线(当前位置偏离路线时),默认NO
◆ needDrawStartPoint
- (BOOL) needDrawStartPoint |
|
readwritenonatomicassign |
◆ needDrawViaPoint
- (BOOL) needDrawViaPoint |
|
readwritenonatomicassign |
◆ needFllowPhoneHeading
- (BOOL) needFllowPhoneHeading |
|
readwritenonatomicassign |
是否展示用户实时方向,设置后会从dataSource获取实时数据
◆ routeColor
◆ routePassedColor
- (UIColor*) routePassedColor |
|
readwritenonatomicstrong |
◆ routePassedDisplayMode
- (BMKRoutePassedDisplayMode) routePassedDisplayMode |
|
readwritenonatomicassign |
走过路线绘制模式。默认BMKRoutePassedDisplayModeNone,无任何效果
◆ startPoint
- (CLLocationCoordinate2D) startPoint |
|
readwritenonatomicassign |
◆ startPointIcon
- (UIImage*) startPointIcon |
|
readwritenonatomicstrong |
◆ startPointIconOffset
- (CGPoint) startPointIconOffset |
|
readwritenonatomicassign |
设置起点图标偏移量,默认图片底部中心在经纬度位置(0.0,-0.5),X轴负数向左,Y轴负数向上片,范围值-0.5~0.5
◆ startPointIconSize
- (CGSize) startPointIconSize |
|
readwritenonatomicassign |
◆ trafficColor
- (NSArray<UIColor *>*) trafficColor |
|
readwritenonatomicstrong |
设置路线路况颜色数组,count必须为5,默认按顺序为未知:#0000FF 畅通:#50D27D 缓行:::FFD046 拥挤:::E72110 严重拥堵:::B4170A
◆ viaPassedPointIcon
- (UIImage*) viaPassedPointIcon |
|
readwritenonatomicstrong |
◆ viaPointIcon
- (UIImage*) viaPointIcon |
|
readwritenonatomicstrong |
◆ viaPointIconOffset
- (CGPoint) viaPointIconOffset |
|
readwritenonatomicassign |
设置途径点图标偏移量,默认图片底部中心在经纬度位置(0.0,-0.5),X轴负数向左,Y轴负数向上片,范围值-0.5~0.5
◆ viaPointIconSize
- (CGSize) viaPointIconSize |
|
readwritenonatomicassign |
◆ viaPointPassedDisplayMode
- (BMKViaPointPassedDisplayMode) viaPointPassedDisplayMode |
|
readwritenonatomicassign |
◆ viaPoints
该类的文档由以下文件生成: