NTMapRendererListener


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

Listener for specific map renderer events.

  • Listener method that gets called when the rendering surface initialized and its size is updated. The method can be used to check when it is safe to call methods that depend on view size, like moveToFitBounds, screenToMap, mapToScreen. This method is called from GL renderer thread, not from main thread.

    Declaration

    Objective-C

    - (void)onSurfaceChanged:(int)width height:(int)height;
  • Listener method that gets called when the rendering surface initialized and its size is updated. The method can be used to check when it is safe to call methods that depend on view size, like moveToFitBounds, screenToMap, mapToScreen. This method is called from GL renderer thread, not from main thread.

    Declaration

    Objective-C

    - (void)onSurfaceChangedSwigExplicitNTMapRendererListener:(int)width
                                                       height:(int)height;
  • Listener method that gets called at the start of the rendering frame. The method can be used to synchronize vector elements with renderer state, for example to force marker to be always at the center of the screen (focus point). This method is called from GL renderer thread, not from main thread.

    Declaration

    Objective-C

    - (void)onBeforeDrawFrame;
  • Listener method that gets called at the start of the rendering frame. The method can be used to synchronize vector elements with renderer state, for example to force marker to be always at the center of the screen (focus point). This method is called from GL renderer thread, not from main thread.

    Declaration

    Objective-C

    - (void)onBeforeDrawFrameSwigExplicitNTMapRendererListener;
  • 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;
  • 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)onAfterDrawFrameSwigExplicitNTMapRendererListener;
  • Undocumented

    Declaration

    Objective-C

    -(id)init;
  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;