HereSDKMapGeometry
@interface HereSDKMapGeometry : NSObject
Class used to generate map geometries
-
Returns the minimal HereSDKMapRect that contains all the points in the given points array.
Declaration
Objective-C
+ (HereSDKMapRect) minMapRectContainingPoints:(nonnull NSArray<CLLocation *> *)points error:(out NSError *_Nullable *_Nullable)error;Swift
class func minMapRectContainingPoints(_ points: [CLLocation], error: NSErrorPointer) -> HereSDKMapRectParameters
pointsarray of points that the rectangle must contain
errorreference to
NSErrorReturn Value
A HereSDKMapRect that contains all the points. If HereSDKMapRect is invalid, an error is generated in the referenced NSError object.
HereSDKMapGeometry Class Reference