Files
suixinkan_ios_new/Pods/AMap3DMap-NO-IDFA/MAMapKit.framework/Headers/MAHeatMapTileOverlay.h
汉秋 b61bf0d070 新增景区权限模块,集成 AMap CocoaPods 并支持模拟器
将景区选择与权限申请流程接入首页路由,集成高德 SDK 用于真机构建,并通过 Podfile post_install 钩子保证 arm64 模拟器可编译。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-23 10:15:26 +08:00

83 lines
2.2 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// MAHeatMapTileOverlay.h
// test2D
//
// Created by xiaoming han on 15/4/21.
// Copyright (c) 2015年 Amap. All rights reserved.
//
#import "MAConfig.h"
#if MA_INCLUDE_OVERLAY_HEATMAP
#import "MATileOverlay.h"
///热力图节点
///Heatmap node
@interface MAHeatMapNode : NSObject
///经纬度
///Latitude and longitude
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
///强度
///Intensity
@property (nonatomic, assign) float intensity;
@end
///热力图渐变属性
///Heatmap gradient properties
@interface MAHeatMapGradient : NSObject<NSCopying>
///颜色变化数组。 default [blue,green,red]
///Color gradient array. default [blue,green,red]
@property (nonatomic, readonly) NSArray<UIColor *> *colors;
///颜色变化起点,需为递增数组,区间为(0, 1)。default[@(0.2),@(0.5),@(0,9)]
///Starting point of color gradient, must be an increasing array, range (0, 1). default[@(0.2),@(0.5),@(0,9)]
@property (nonatomic, readonly) NSArray<NSNumber *> *startPoints;
/**
* @brief 重新设置gradient的时候需要执行 MATileOverlayRenderer 的 reloadData 方法重刷新渲染缓存。
* When resetting the gradient, you need to execute the reloadData method of MATileOverlayRenderer to refresh the rendering cache.
* @param colors 颜色
* Color
* @param startPoints startPoints
* @return instance
*/
- (instancetype)initWithColor:(NSArray<UIColor *> *)colors andWithStartPoints:(NSArray<NSNumber *> *)startPoints;
@end
///热力图tileOverlay
///Heatmap tileOverlay
@interface MAHeatMapTileOverlay : MATileOverlay
///MAHeatMapNode array
@property (nonatomic, strong) NSArray<MAHeatMapNode *> *data;
///热力图半径默认为12范围:10-200 screen point
///Heatmap radius, default is 12, range: 10-200 screen points
@property (nonatomic, assign) NSInteger radius;
///透明度默认为0.6范围0-1
///Opacity, default is 0.6, range: 0-1
@property (nonatomic, assign) CGFloat opacity;
///热力图梯度
///Heatmap gradient
@property (nonatomic, strong) MAHeatMapGradient *gradient;
///是否开启高清热力图,默认关闭
///Whether to enable high-definition heatmap, default is off
@property (nonatomic, assign) BOOL allowRetinaAdapting;
@end
#endif