|
OpenSDK8.1.1
|
Instance Methods | |
| (void) | - setFixedLevelEnable: |
| (void) | - setFixedLevel: |
| (void) | - setIconsOfRouteType: |
| 路线上的图标 全部展示\隐藏 YES 是显示。NO是隐藏。默认展示全部。 | |
| (void) | - hideIconsOfRouteType: |
| (BOOL) | - setDIYRouteImageToMap:type:isShow: |
| (void) | - setNaviRouteHighLightHalfWidth:unHighLightHalfWidth:routeOverViewHalfWidth:routeACEHalfWidth: |
Properties | |
| id< BNKMapViewDelegate > | naviMapViewDelegate |
| - (void) hideIconsOfRouteType: | (NSArray< NSNumber * > *) | types |
隐藏 路线上的图标 示例:NSArray<NSNumber *> *types = [(BNMIMapCarIconType_Camera), (BNMIMapCarIconType_Jam)]; [self.multiMapView hideRouteLabelsOfType:types];
| - (BOOL) setDIYRouteImageToMap: | (UIImage *) | icon | |
| type: | (BNMIDIYRouteImageType) | type | |
| isShow: | (BOOL) | show |
设置路线颜色
| - (void) setFixedLevel: | (CGFloat) | level |
设置固定比例尺等级。 注:进了车道级之后,设置的固定比例尺不生效,当退出车道级后会还原成设置的固定比例尺。
| level | 固定比例尺等级,取值范围为 4~21。此参数仅在通过 - setFixedLevelEnable: 接口启用固定比例尺功能(enable 为 YES)时生效。 |
| - (void) setFixedLevelEnable: | (BOOL) | enable |
设置固定比例尺开关。
| enable | YES 表示启用固定比例尺功能,此时 - setFixedLevel: 接口中设置的比例尺等级(level 参数)将生效; NO 表示关闭固定比例尺功能,系统会使用默认比例尺大小。默认值为 NO。 |
| - (void) setNaviRouteHighLightHalfWidth: | (CGFloat) | highWidth | |
| unHighLightHalfWidth: | (CGFloat) | unHighLightWidth | |
| routeOverViewHalfWidth: | (CGFloat) | routeOverWidth | |
| routeACEHalfWidth: | (CGFloat) | routeACEWidth |
导航路线宽度设置。 设置的时候需要4个一起设置。如需要单独设置某一个宽度,其他需传入对应默认值。