NTPoint


@interface NTPoint : NTVectorElement

A geometric point that can be displayed on the map.

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

    Declaration

    Objective-C

    - (id)initWithGeometry:(NTPointGeometry *)geometry style:(NTPointStyle *)style;

    Parameters

    geometry

    The geometry object that defines the location of this point.

    style

    The style that defines what this point looks like.

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

    Declaration

    Objective-C

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

    Parameters

    pos

    The map position that defines the location of this point.

    style

    The style that defines what this point looks like.

  • Undocumented

    Declaration

    Objective-C

    - (NTPointGeometry *)getGeometry;
  • Sets the location for this point.

    Declaration

    Objective-C

    - (void)setGeometry:(NTPointGeometry *)geometry;

    Parameters

    geometry

    The new geometry object that defines the location of this point.

  • Returns the location of this point.

    Declaration

    Objective-C

    - (NTMapPos *)getPos;

    Return Value

    The map position that defines the location of this point.

  • Sets the location of this point.

    Declaration

    Objective-C

    - (void)setPos:(NTMapPos *)pos;

    Parameters

    pos

    The new map position that defines the location of this point.

  • Returns the style of this point.

    Declaration

    Objective-C

    - (NTPointStyle *)getStyle;

    Return Value

    The style that defines what this point looks like.

  • Sets a style for this point.

    Declaration

    Objective-C

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

    Parameters

    style

    The new style that defines what this point looks like.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;