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

    baseBillboard

    The billboard this billboard will be attached to.

    style

    The 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

    geometry

    The geometry object that defines the location of this marker.

    style

    The 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

    pos

    The map position that defines the location of this marker.

    style

    The style that defines what this marker looks like.

  • Returns the style of this marker.

    Declaration

    Objective-C

    - (MSFMarkerStyle *)getStyle;

    Swift

    func getStyle() -> MSFMarkerStyle!

    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

    style

    The new style that defines what this marker looks like.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()