KMViewContainer

Objective-C

@interface KMViewContainer : UIView

Swift

class KMViewContainer : UIView

MapContainer UIView를 상속받아 지도를 표시하는 클래스.

Metal usage

  • if true, render using OpenGL. default NO.

    Declaration

    Objective-C

    + (void)setUseGL:(BOOL)useGL;

    Swift

    class func setUseGL(_ useGL: Bool)
  • return useGL value.

    Declaration

    Objective-C

    + (BOOL)useGL;

    Swift

    class func useGL() -> Bool

delegate

Properties

  • RenderMode에 따라 실제 지도가 그려지는 childView.

    Declaration

    Objective-C

    @property (nonatomic, retain) UIView *_Nullable renderView;

    Swift

    var renderView: UIView? { get set }
  • RenderMode. setUseGL이 true 일경우 GL. 아닐경우 실행환경에 따라 GL/Metal 이 자동으로 선택됨.

    Declaration

    Objective-C

    @property RenderMode renderMode;

    Swift

    var renderMode: RenderMode { get set }
  • 기기의 display가 ProMotion 을 지원하는지 여부

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL proMotionDisplay;

    Swift

    var proMotionDisplay: Bool { get }