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
geometryThe geometry object that defines the location of this point.
styleThe 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
posThe map position that defines the location of this point.
styleThe 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
geometryThe 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
posThe 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
styleThe new style that defines what this point looks like.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;
View on GitHub
NTPoint Class Reference