MSFGeometryCollection
Objective-C
@interface MSFGeometryCollection : MSFVectorElement
Swift
class MSFGeometryCollection : MSFVectorElement
A collection of multiple geometries that can be displayed on the map.
-
Constructs a new GeometryCollection object from multigeometry and style.
Declaration
Objective-C
- (id)initWithGeometry:(MSFMultiGeometry *)geometry style:(MSFGeometryCollectionStyle *)style;Swift
init!(geometry: MSFMultiGeometry!, style: MSFGeometryCollectionStyle!)Parameters
geometryThe multigeometry containing possibly points, lines, polygons.
styleThe style defining multigeometry rendering.
-
Undocumented
Declaration
Objective-C
- (MSFMultiGeometry *)getGeometry;Swift
func getGeometry() -> MSFMultiGeometry! -
Sets the geometry for this geometry collection.
Declaration
Objective-C
- (void)setGeometry:(MSFMultiGeometry *)geometry;Swift
func setGeometry(_ geometry: MSFMultiGeometry!)Parameters
geometryThe new geometry object.
-
Returns the style of this geometry collection.
Declaration
Objective-C
- (MSFGeometryCollectionStyle *)getStyle;Swift
func getStyle() -> MSFGeometryCollectionStyle!Return Value
The style that defines multigeometry rendering.
-
Sets the style for this geometry collection.
Declaration
Objective-C
- (void)setStyle:(MSFGeometryCollectionStyle *)style;Swift
func setStyle(_ style: MSFGeometryCollectionStyle!)Parameters
styleThe new style that defines defines multigeometry rendering.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()