NTVectorTileDecoder


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

Abstract base class for vector tile decoders.

  • 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.

  • Adds a fallback font. The font should be TTF or OTF font. It is used for glyphs not found in style defined fonts.

    Declaration

    Objective-C

    - (void)addFallbackFont:(NTBinaryData *)fontData;

    Parameters

    fontData

    The font binary.

  • Returns minimum zoom level supported for by the decoder (or style).

    Declaration

    Objective-C

    - (int)getMinZoom;

    Return Value

    Minimum supported zoom level.

  • Returns maximum zoom level supported for by the decoder (or style).

    Declaration

    Objective-C

    - (int)getMaxZoom;

    Return Value

    Maximum supported zoom level.

  • Notifies listeners that the decoder parameters have changed. Action taken depends on the implementation of the listeners, but generally all cached tiles will be reloaded.

    Declaration

    Objective-C

    - (void)notifyDecoderChanged;
  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;