MSFLabel
Objective-C
@interface MSFLabel : MSFBillboard
Swift
class MSFLabel : MSFBillboard
An abstract billboard element with a dynamically drawn bitmap that can be displayed on the map.
-
Draws a custom bitmap for this label that will be used for drawing the label on the map. The method is called each time the label gets reloaded internally.
Declaration
Objective-C
- (MSFBitmap *)drawBitmap:(float)dpToPX;Swift
func drawBitmap(_ dpToPX: Float) -> MSFBitmap!Parameters
dpToPXThe value used for converting display independent pixels (dp) to pixels (px).
Return Value
The custom label bitmap.
-
Returns the style of this label.
Return Value
The style that defines what this label looks like.
-
Sets the style for this label.
Declaration
Objective-C
- (void)setStyle:(MSFLabelStyle *)style;Swift
func setStyle(_ style: MSFLabelStyle!)Parameters
styleThe new style that defines what this marker looks like.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()