MSFMapRendererListener

Objective-C


@interface MSFMapRendererListener : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

Swift

class MSFMapRendererListener : NSObject

Listener for specific map renderer events.

  • Called when the rendering surface is initialized or resized; from then on view-size dependent methods (moveToFitBounds, screenToMap, mapToScreen) are safe to call. Called from the GL renderer thread, not the main thread.

    Declaration

    Objective-C

    - (void)onSurfaceChanged:(int)width height:(int)height;

    Swift

    func onSurfaceChanged(_ width: Int32, height: Int32)
  • Called when the rendering surface is initialized or resized; from then on view-size dependent methods (moveToFitBounds, screenToMap, mapToScreen) are safe to call. Called from the GL renderer thread, not the main thread.

    Declaration

    Objective-C

    - (void)onSurfaceChangedSwigExplicitMSFMapRendererListener:(int)width
                                                        height:(int)height;

    Swift

    func onSurfaceChangedSwigExplicitMSFMapRendererListener(_ width: Int32, height: Int32)
  • Called at the start of the rendering frame, e.g. to keep a marker at the focus point. Called from the GL renderer thread, not the main thread.

    Declaration

    Objective-C

    - (void)onBeforeDrawFrame;

    Swift

    func onBeforeDrawFrame()
  • Called at the start of the rendering frame, e.g. to keep a marker at the focus point. Called from the GL renderer thread, not the main thread.

    Declaration

    Objective-C

    - (void)onBeforeDrawFrameSwigExplicitMSFMapRendererListener;

    Swift

    func onBeforeDrawFrameSwigExplicitMSFMapRendererListener()
  • Listener method that gets called at the end of the rendering frame. This method is called from GL renderer thread, not from main thread.

    Declaration

    Objective-C

    - (void)onAfterDrawFrame;

    Swift

    func onAfterDrawFrame()
  • Listener method that gets called at the end of the rendering frame. This method is called from GL renderer thread, not from main thread.

    Declaration

    Objective-C

    - (void)onAfterDrawFrameSwigExplicitMSFMapRendererListener;

    Swift

    func onAfterDrawFrameSwigExplicitMSFMapRendererListener()
  • Undocumented

    Declaration

    Objective-C

    -(id)init;

    Swift

    init!()
  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()