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
geometryThe geometry object that defines the location of this point.
styleThe 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
posThe map position that defines the location of this point.
styleThe 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
geometryThe new geometry object that defines the location of this point.
-
Returns the style of this point.
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
styleThe new style that defines what this point looks like.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()