更新高德地图

This commit is contained in:
DDIsFriend
2023-12-26 18:04:18 +08:00
parent 6f8051bf4e
commit 06e156e7a3
53 changed files with 490 additions and 440 deletions

View File

@@ -177,6 +177,7 @@
*/
- (void)AMapDistanceSearch:(AMapDistanceSearchRequest *)request;
- (void)AMapChargeStationSearch:(AMapChargeStationSearchRequest *)request;
#pragma mark - 附近搜索相关
/**
@@ -363,4 +364,12 @@
*/
- (void)onShareSearchDone:(AMapShareSearchBaseRequest *)request response:(AMapShareSearchResponse *)response;
#pragma mark - 车机充电站搜索回调
/**
* @brief 车机充电站搜索回调
* @param request 发起的请求
* @param response 相应结果,具体字段参考 AMapShareSearchResponse。
*/
- (void)onChargeStationSearchDone:(AMapChargeStationSearchRequest *)request response:(AMapChargeStationSearchResponse *)response;
@end

View File

@@ -72,8 +72,8 @@ typedef NS_ENUM(NSUInteger, AMapDrivingRouteShowFieldType)
AMapDrivingRouteShowFieldTypeTmcs = 1 << 2, ///< 返回分段路况详情
AMapDrivingRouteShowFieldTypeNavi = 1 << 3, ///< 返回详细导航动作指令
AMapDrivingRouteShowFieldTypeCities = 1 << 4, ///< 返回分段途径城市信息
AMapDrivingRouteShowFieldTypePolyline = 1 << 5, ///< 返回分段坐标点串,两点间用“,”分隔
AMapDrivingRouteShowFieldTypeNewEnergy = 1 << 6, ///< 返回分段坐标点串,两点间用“,”分隔
AMapDrivingRouteShowFieldTypePolyline = 1 << 5, ///< 返回分段坐标点串,两点间用“,”分隔
AMapDrivingRouteShowFieldTypeNewEnergy = 1 << 6,///< 返回分段坐标点串,两点间用“,”分隔
AMapDrivingRouteShowFieldTypeAll = ~0UL, ///< 返回所有扩展信息
};
@@ -408,7 +408,7 @@ typedef NS_ENUM(NSInteger, AMapDistanceSearchType)
@property (nonatomic, assign) NSInteger strategy;
///途经点 AMapGeoPoint 数组目前最多支持16个途经点
@property (nonatomic, copy) NSArray<AMapGeoPoint *> *waypoints;
///避让区域 AMapGeoPolygon 数组,目前最多支持100个避让区域每个区域16个点
///避让区域 AMapGeoPolygon 数组,目前最多支持32个避让区域每个区域16个点
@property (nonatomic, copy) NSArray<AMapGeoPolygon *> *avoidpolygons;
///避让道路名
@property (nonatomic, copy) NSString *avoidroad;
@@ -500,6 +500,8 @@ typedef NS_ENUM(NSInteger, AMapDistanceSearchType)
///骑行路径规划
@interface AMapRidingRouteSearchRequest : AMapRouteSearchBaseRequest
///返回路线条数, 0: 默认返回一条路线方案; 1 : 多备选路线中第一条路线; 2 : 多备选路线中前两条路线; 3 : 多备选路线中三条路线
@property (nonatomic, assign) NSInteger alternativeRoute;
///返回结果控制
@property (nonatomic, assign) AMapRidingRouteShowFieldsType showFieldsType;
@end
@@ -805,3 +807,11 @@ typedef NS_ENUM(NSInteger, AMapDistanceSearchType)
///不同时间的规划以及信息列表
@property (nonatomic, strong) NSArray<AMapFutureTimeInfo *> *timeInfos;
@end
/// 充电站搜索since 9.7.0
@interface AMapChargeStationSearchRequest : AMapSearchObject
@end
/// 充电站搜索since 9.7.0
@interface AMapChargeStationSearchResponse : AMapSearchObject
@end

View File

@@ -12,7 +12,7 @@
#ifndef AMapSearchVersion_h
#define AMapSearchVersion_h
#define AMapSearchVersionNumber 90500
#define AMapSearchVersionNumber 90700
#define AMapSearchMinRequiredFoundationVersion 10800
// 依赖库版本检测