新增景区权限模块,集成 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,57 @@
//
// MAPolylineRenderer.h
// MAMapKit
//
//
// Copyright (c) 2011年 Amap. All rights reserved.
//
#import "MAConfig.h"
#import <UIKit/UIKit.h>
#import "MAPolyline.h"
#import "MAOverlayPathRenderer.h"
#import "MAPathShowRange.h"
///此类用于绘制MAPolyline,可以通过MAOverlayPathRenderer修改其fill和stroke attributes
///This class is used to draw MAPolyline, and its fill and stroke attributes can be modified through MAOverlayPathRenderer.
@interface MAPolylineRenderer : MAOverlayPathRenderer
///关联的MAPolyline model
///associated MAPolyline model
@property (nonatomic, readonly) MAPolyline *polyline;
///设置是否显示3d箭头线, 默认为NO。如果设置为YES则为3d箭头线。since 6.7.0
///Set whether to display the 3D arrow line, default is NO. If set to YES, it will be a 3D arrow line. since 6.7.0
@property (nonatomic, assign) BOOL is3DArrowLine;
///设置为立体3d箭头的侧边颜色当is3DArrowLine为YES时有效)顶部颜色使用strokeColor。since 6.7.0
///Set the side color of the 3D arrow (effective when is3DArrowLine is YES) The top color uses strokeColor. since 6.7.0
@property (nonatomic, strong) UIColor *sideColor;
///是否开启点击选中功能默认NO. since 7.1.0
///Whether to enable the click selection function, default is NO. since 7.1.0
@property (nonatomic, assign) BOOL userInteractionEnabled;
///用于调整点击选中热区大小默认为0. 负值增大热区,正值减小热区. since 7.1.0
///Used to adjust the size of the click selection hotspot, default is 0. Negative values increase the hotspot, positive values decrease the hotspot. since 7.1.0
@property (nonatomic, assign) CGFloat hitTestInset;
///是否启用显示范围YES启用不启用时展示全路径 since 7.5.0
///Whether to enable the display range, YES to enable, when not enabled, the full path is displayed. since 7.5.0
@property (nonatomic, assign) BOOL showRangeEnabled;
///显示范围 since 7.5.0
///Display range since 7.5.0
@property (nonatomic, assign) MAPathShowRange showRange;
/**
* @brief 根据指定的MAPolyline生成一个多段线Renderer
* Generate a polyline Renderer based on the specified MAPolyline
* @param polyline 指定MAPolyline
* Specify MAPolyline
* @return 新生成的多段线Renderer
* Newly generated polyline Renderer
*/
- (instancetype)initWithPolyline:(MAPolyline *)polyline;
@end