新增景区权限模块,集成 AMap CocoaPods 并支持模拟器

将景区选择与权限申请流程接入首页路由,集成高德 SDK 用于真机构建,并通过 Podfile post_install 钩子保证 arm64 模拟器可编译。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-23 10:15:26 +08:00
parent 5d4613f317
commit b61bf0d070
416 changed files with 18641 additions and 38 deletions

View File

@ -0,0 +1,24 @@
//
// MAPathShowRange.h
// MAMapKit
//
// Created by shaobin on 2019/12/31.
// Copyright © 2019 Amap. All rights reserved.
//
#ifndef MAPathShowRange_h
#define MAPathShowRange_h
struct MAPathShowRange {
float begin; ///<起点位置,整数部分表示起点索引,小数部分表示在线段上的位置 Start position, the integer part represents the start index, the decimal part represents the position on the segment
float end; ///<终点位置,整数部分表示起点索引,小数部分表示在线段上的位置 End position, the integer part represents the start index, the decimal part represents the position on the segment
};
typedef struct MAPathShowRange MAPathShowRange;
static inline MAPathShowRange MAPathShowRangeMake(float begin, float end) {
return (MAPathShowRange){begin, end};
}
#endif /* MAPathShowRange_h */