新增景区权限模块,集成 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,31 @@
//
// MABaseOverlay.h
// MAMapKit
//
// Created by cuishaobin on 2020/6/17.
// Copyright © 2020 Amap. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "MAOverlay.h"
NS_ASSUME_NONNULL_BEGIN
@interface MABaseOverlay : NSObject<MAOverlay> {
double _altitude; ///<海拔 Elevation
}
///返回区域中心坐标
///Return to regional center coordinates
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
///区域外接矩形
///Regional bounding rectangle
@property (nonatomic, assign) MAMapRect boundingMapRect;
///海拔单位米默认0
///Elevation, in meters, default 0
@property (nonatomic, assign) double altitude;
@end
NS_ASSUME_NONNULL_END