NTGeometryCollection
@interface NTGeometryCollection : NTVectorElement
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:(NTMultiGeometry *)geometry style:(NTGeometryCollectionStyle *)style;
Parameters
geometry
The multigeometry containing possibly points, lines, polygons.
style
The style defining multigeometry rendering.
-
Undocumented
Declaration
Objective-C
- (NTMultiGeometry *)getGeometry;
-
Sets the geometry for this geometry collection.
Declaration
Objective-C
- (void)setGeometry:(NTMultiGeometry *)geometry;
Parameters
geometry
The new geometry object.
-
Returns the style of this geometry collection.
Declaration
Objective-C
- (NTGeometryCollectionStyle *)getStyle;
Return Value
The style that defines multigeometry rendering.
-
Sets the style for this geometry collection.
Declaration
Objective-C
- (void)setStyle:(NTGeometryCollectionStyle *)style;
Parameters
style
The new style that defines defines multigeometry rendering.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;