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