NTMapRenderer


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

The map renderer component.

  • Checks if this object is equal to the specified object.

    Declaration

    Objective-C

    - (BOOL)isEqual:(id)object;

    Parameters

    object

    The reference object.

    Return Value

    True when objects are equal, false otherwise.

  • Returns the hash value of this object.

    Declaration

    Objective-C

    - (NSUInteger)hash;

    Return Value

    The hash value of this object.

  • Returns the map renderer listener. Can be null.

    Declaration

    Objective-C

    - (NTMapRendererListener *)getMapRendererListener;

    Return Value

    The map renderer listener.

  • Sets the map renderer listener.

    Declaration

    Objective-C

    - (void)setMapRendererListener:(NTMapRendererListener *)listener;

    Parameters

    listener

    The new map renderer listener. Can be null.

  • Returns the current view state.

    Declaration

    Objective-C

    - (NTViewState *)getViewState;

    Return Value

    The current view state.

  • Requests the renderer to refresh the view. Note that there is normally no need to do this manually, SDK automatically redraws the view when needed.

    Declaration

    Objective-C

    - (void)requestRedraw;
  • Captures map rendering as a bitmap. This operation is asynchronous and the result is returned via listener callback.

    Declaration

    Objective-C

    - (void)captureRendering:(NTRendererCaptureListener *)listener
           waitWhileUpdating:(BOOL)waitWhileUpdating;

    Parameters

    listener

    The listener interface that will receive the callback once rendering is available.

    waitWhileUpdating

    If true, delay the capture until all asynchronous processes are finished (for example, until all tiles are loaded).

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;