27 lines
804 B
Objective-C
27 lines
804 B
Objective-C
//
|
|
// DDMANaviManager.h
|
|
// DDMAMapKit_Private
|
|
// Created by DDIsFriend on 2023/3/16.
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
struct CLLocationCoordinate2D;
|
|
|
|
@interface DDMANaviManager : NSObject
|
|
+ (instancetype)shareManager;
|
|
+ (instancetype)new NS_UNAVAILABLE;
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
|
|
// 请在使用该类前先设置appkey
|
|
+ (void)startWithAppKey:(nullable NSString *)appKey;
|
|
|
|
// 在创建该类实例前调用
|
|
+ (void)agreePrivacy;
|
|
|
|
- (void)presentRoutePlanViewControllerFromCoordinate:(CLLocationCoordinate2D)fromCoordinate fromName:(nullable NSString *)fromName fromPOIId:(nullable NSString *)fromPOIId toCoordinate:(CLLocationCoordinate2D)toCoordinate toName:(nullable NSString *)toName toPOIId:(nullable NSString *)toPOIId;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|