initial
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// DDMAGeometry.h
|
||||
// DDMAMapKit_Private
|
||||
// Created by DDIsFriend on 2023/2/2.
|
||||
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <AMapNaviKit/MAGeometry.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface DDMAGeometry : NSObject
|
||||
// 获取一个合适的地图展示范围
|
||||
+ (MAMapRect)getVisibleMapRectWithCoordinates:(CLLocationCoordinate2D *_Nullable)coords coordinateCount:(NSUInteger)coordinateCount;
|
||||
|
||||
// 获取一个合适的地图展示范围
|
||||
+ (MAMapRect)getVisibleMapRectWithMapPoints:(MAMapPoint *_Nullable)mapPoints mapPointCount:(NSUInteger)mapPointCount;
|
||||
|
||||
// 获取一个合适的地图展示范围
|
||||
+ (MAMapRect)getVisibleMapRectWithCLLocations:(NSArray<CLLocation *> *_Nullable)locations;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user