NTMarker


@interface NTMarker : NTBillboard

A billboard element with a static bitmap that can be displayed on the map.

  • Constructs a Marker object with the specified style and attaches it to a billboard element.

    Declaration

    Objective-C

    - (id)initWithBaseBillboard:(NTBillboard *)baseBillboard
                          style:(NTMarkerStyle *)style;

    Parameters

    baseBillboard

    The billboard this billboard will be attached to.

    style

    The style that defines what this marker looks like.

  • Constructs a Marker object from a geometry object and a style.

    Declaration

    Objective-C

    - (id)initWithGeometry:(NTGeometry *)geometry style:(NTMarkerStyle *)style;

    Parameters

    geometry

    The geometry object that defines the location of this marker.

    style

    The style that defines what this marker looks like.

  • Constructs a Marker object from a map position and a style.

    Declaration

    Objective-C

    - (id)initWithPos:(NTMapPos *)pos style:(NTMarkerStyle *)style;

    Parameters

    pos

    The map position that defines the location of this marker.

    style

    The style that defines what this marker looks like.

  • Returns the style of this marker.

    Declaration

    Objective-C

    - (NTMarkerStyle *)getStyle;

    Return Value

    The style that defines what this marker looks like.

  • Sets the style for this marker.

    Declaration

    Objective-C

    - (void)setStyle:(NTMarkerStyle *)style;

    Parameters

    style

    The new style that defines what this marker looks like.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;