SFGMultiPoint
Objective-C
@interface SFGMultiPoint : SFGGeometry
Swift
class SFGMultiPoint : SFGGeometry
Multi Point
-
Array of points
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray<SFGPoint *> *points;
Swift
var points: NSMutableArray! { get set }
-
Create
Declaration
Objective-C
+ (SFGMultiPoint *)multiPoint;
Return Value
new multi point
-
Create
Declaration
Objective-C
+ (SFGMultiPoint *)multiPointWithCoordinates:(NSArray *)coordinates;
Parameters
coordinates
coordinate positions
Return Value
new multi point
-
Create
Declaration
Objective-C
+ (SFGMultiPoint *)multiPointWithPoints:(NSArray<SFGPoint *> *)points;
Parameters
points
points list
Return Value
new multi point
-
Create
Declaration
Objective-C
+ (SFGMultiPoint *)multiPointWithMultiPoint:(SFMultiPoint *)multiPoint;
Parameters
multiPoint
simple multi point
Return Value
new multi point
-
Create
Declaration
Objective-C
+ (SFGMultiPoint *)multiPointWithTree:(NSDictionary *)tree;
Parameters
tree
JSON tree
Return Value
new multi point
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new multi point
-
Initialize
Declaration
Objective-C
- (instancetype)initWithCoordinates:(NSArray *)coordinates;
Swift
init!(coordinates: [Any]!)
Parameters
coordinates
coordinate positions
Return Value
new multi point
-
Initialize
Declaration
Objective-C
- (instancetype)initWithMultiPoint:(SFMultiPoint *)multiPoint;
Swift
init!(multiPoint: SFMultiPoint!)
Parameters
multiPoint
simple multi point
Return Value
new multi point
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTree:(NSDictionary *)tree;
Swift
init!(tree: [AnyHashable : Any]!)
Parameters
tree
JSON tree
Return Value
new multi point
-
Get the simple features multi point
Return Value
multi point
-
Set the simple features multi point
Declaration
Objective-C
- (void)setMultiPoint:(SFMultiPoint *)multiPoint;
Swift
func setMultiPoint(_ multiPoint: SFMultiPoint!)
Parameters
multiPoint
multi point