Map Doc  1.0
iOS-引擎SDK-开放平台
MBJunctionView.h
浏览该文件的文档.
1 //
2 // MBJunctionView.h
3 // iNaviCore
4 //
5 // Created by fanyunlong on 2017/3/15.
6 // Copyright © 2017年 Mapbar. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <GLKit/GLKit.h>
11 #import "MBNaviBaseTypes.h"
12 #import "MBNaviCoreBase.h"
13 
14 typedef NS_OPTIONS(NSUInteger, MBNaviExpandViewEvent) {
15  MBNaviExpandViewEvent_show = 1,
16  MBNaviExpandViewEvent_refresh = 2,
17  MBNaviExpandViewEvent_hide = 3,
18 };
19 
20 @class MBJunctionView;
21 typedef void (^MBNaviExpandViewBlock)(MBNaviExpandViewEvent event, MBJunctionView* expandView);
22 
23 @interface MBJunctionView : GLKView
24 
25 @property (nonatomic) MBDataPreference preference;
26 @property (nonatomic) BOOL enable;
27 @property (nonatomic, copy) NSString *realViewURL;
28 @property (nonatomic, copy) NSString *roadNetViewURL;
33 + (instancetype)sharedJunctionView;
37 - (void)setNaviExpandViewBlock:(MBNaviExpandViewBlock)block;
38 
39 - (BOOL)loadStyleSheet:(NSString *)styleSheet;
40 - (BOOL)selectClass:(NSString *)className;
41 
42 - (void)closeOnce;
43 - (void)open;
45 - (BOOL)shouldDisplay;
46 
47 @end
NSString * roadNetViewURL
Definition: MBJunctionView.h:28
Definition: MBJunctionView.h:23
BOOL enable
Definition: MBJunctionView.h:26
MBDataPreference
Definition: MBNaviBaseTypes.h:288
MBDataPreference preference
Definition: MBJunctionView.h:25
typedef NS_OPTIONS(NSUInteger, MBNaviExpandViewEvent)
Definition: MBJunctionView.h:14
BOOL shouldDisplayOpenButton()
void(^ MBNaviExpandViewBlock)(MBNaviExpandViewEvent event, MBJunctionView *expandView)
Definition: MBJunctionView.h:21
instancetype sharedJunctionView()
NSString * realViewURL
Definition: MBJunctionView.h:27