MSFPoint

Objective-C


@interface MSFPoint : MSFVectorElement

Swift

class MSFPoint : MSFVectorElement

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:(MSFPointGeometry *)geometry
                     style:(MSFPointStyle *)style;

    Swift

    init!(geometry: MSFPointGeometry!, style: MSFPointStyle!)

    Parameters

    geometry

    The geometry object that defines the location of this point.

    style

    The style that defines what this point looks like.

  • Constructs a Point object from a map position and a style.

    Declaration

    Objective-C

    - (id)initWithPos:(MSFMapPos *)pos style:(MSFPointStyle *)style;

    Swift

    init!(pos: MSFMapPos!, style: MSFPointStyle!)

    Parameters

    pos

    The map position that defines the location of this point.

    style

    The style that defines what this point looks like.

  • Undocumented

    Declaration

    Objective-C

    - (MSFPointGeometry *)getGeometry;

    Swift

    func getGeometry() -> MSFPointGeometry!
  • Sets the location for this point.

    Declaration

    Objective-C

    - (void)setGeometry:(MSFPointGeometry *)geometry;

    Swift

    func setGeometry(_ geometry: MSFPointGeometry!)

    Parameters

    geometry

    The new geometry object that defines the location of this point.

  • Returns the location of this point.

    Declaration

    Objective-C

    - (MSFMapPos *)getPos;

    Swift

    func getPos() -> MSFMapPos!

    Return Value

    The map position that defines the location of this point.

  • Sets the location of this point.

    Declaration

    Objective-C

    - (void)setPos:(MSFMapPos *)pos;

    Swift

    func setPos(_ pos: MSFMapPos!)

    Parameters

    pos

    The new map position that defines the location of this point.

  • Returns the style of this point.

    Declaration

    Objective-C

    - (MSFPointStyle *)getStyle;

    Swift

    func getStyle() -> MSFPointStyle!

    Return Value

    The style that defines what this point looks like.

  • Sets a style for this point.

    Declaration

    Objective-C

    - (void)setStyle:(MSFPointStyle *)style;

    Swift

    func setStyle(_ style: MSFPointStyle!)

    Parameters

    style

    The new style that defines what this point looks like.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()