MSFMarker
Objective-C
@interface MSFMarker : MSFBillboard
Swift
class MSFMarker : MSFBillboard
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:(MSFBillboard *)baseBillboard style:(MSFMarkerStyle *)style;Swift
init!(baseBillboard: MSFBillboard!, style: MSFMarkerStyle!)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:(MSFGeometry *)geometry style:(MSFMarkerStyle *)style;Swift
init!(geometry: MSFGeometry!, style: MSFMarkerStyle!)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:(MSFMapPos *)pos style:(MSFMarkerStyle *)style;Swift
init!(pos: MSFMapPos!, style: MSFMarkerStyle!)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.
Return Value
The style that defines what this marker looks like.
-
Sets the style for this marker.
Declaration
Objective-C
- (void)setStyle:(MSFMarkerStyle *)style;Swift
func setStyle(_ style: MSFMarkerStyle!)Parameters
styleThe new style that defines what this marker looks like.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()