新增景区权限模块,集成 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,48 @@
//
// MAUserLocationRepresentation.h
// MAMapKit
//
// Created by shaobin on 16/12/27.
// Copyright © 2016年 Amap. All rights reserved.
//
#import "MAConfig.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#define kAccuracyCircleDefaultColor [UIColor colorWithRed:136/255.0 green:166/255.0 blue:227/255.0 alpha:.3]
///用户位置显示样式控制
///User location display style control
@interface MAUserLocationRepresentation : NSObject
///精度圈是否显示默认YES
///Whether to show the accuracy circle, default is YES
@property (nonatomic, assign) BOOL showsAccuracyRing;
///是否显示方向指示(MAUserTrackingModeFollowWithHeading模式开启)。默认为YES
///Whether to show the direction indicator (MAUserTrackingModeFollowWithHeading mode enabled). Default is YES
@property (nonatomic, assign) BOOL showsHeadingIndicator;
///精度圈 填充颜色, 默认 kAccuracyCircleDefaultColor
///Accuracy circle fill color, default is kAccuracyCircleDefaultColor
@property (nonatomic, strong) UIColor *fillColor;
///精度圈 边线颜色, 默认 kAccuracyCircleDefaultColor
///Accuracy circle border color; default is kAccuracyCircleDefaultColor
@property (nonatomic, strong) UIColor *strokeColor;
///精度圈 边线宽度默认0
///Accuracy circle border width, default is 0
@property (nonatomic, assign) CGFloat lineWidth;
///定位点背景色,不设置默认白色
///Positioning point background color, default white if not set
@property (nonatomic, strong) UIColor *locationDotBgColor;
///定位点蓝色圆点颜色,不设置默认蓝色
///Positioning point blue dot color, default blue if not set
@property (nonatomic, strong) UIColor *locationDotFillColor;
///内部蓝色圆点是否使用律动效果, 默认YES
///Whether to use pulsating effect for inner blue dot, default YES
@property (nonatomic, assign) BOOL enablePulseAnnimation;
///定位图标, 与蓝色原点互斥
///Location icon, mutually exclusive with the blue dot
@property (nonatomic, strong) UIImage* image;
@end