BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

BMKIconMarker.h
浏览该文件的文档.
1 //
2 // BMKIconMarker.h
3 // MapComponent
4 //
5 // Created by zhaoxiangru on 2024/3/11.
6 // Copyright © 2024 Baidu. All rights reserved.
7 //
8
9 #import "BMKBaseMarker.h"
10 #import "BMKDrawableResource.h"
11
12 NS_ASSUME_NONNULL_BEGIN
14 typedef enum : NSUInteger {
15 BMKMarkerAnimateNone,
16 BMKMarkerAnimateDrop,
17 BMKMarkerAnimateGrow,
18 BMKMarkerAnimateJump
19 } BMKMarkerAnimateType;
20
21 @interface BMKIconMarker : BMKBaseMarker
23 @property (nonatomic, assign) BMKOverlaySizeType sizeType;
26 @property (nonatomic, strong) UIImage *icon;
28 @property (nonatomic, strong) BMKBitmapResource *bitmapResource;
30 @property (nonatomic, strong) UIColor *color;
32 @property (nonatomic, assign) BMKMarkerAnimateType animationType;
33
36 @property (nonatomic, strong) NSArray<UIImage *> *icons;
38 @property (nonatomic, strong) BMKFrameResource *frameResource;
39
41 @property (nonatomic, strong) BMKGifResource *gifResource;
42
47 - (void)setIcons:(NSArray<UIImage *> *)icons interval:(int)interval repeatCnt:(int)repeatCnt;
48 @end
49
50 NS_ASSUME_NONNULL_END
BMKOverlaySizeType
BMKOverlaySizeType
overlay大小的类型
Definition: BMKTypes.h:23
BMKMarkerAnimateJump
@ BMKMarkerAnimateJump
跳动
Definition: BMKIconMarker.h:18
BMKMarkerAnimateDrop
@ BMKMarkerAnimateDrop
从天上掉下
Definition: BMKIconMarker.h:16
BMKIconMarker::gifResource
BMKGifResource * gifResource
git资源组，大量绘制相同git创建一个git纹理资源共用，必传， since 6.6.4
Definition: BMKIconMarker.h:41
BMKBaseMarker
Definition: BMKBaseMarker.h:19
BMKIconMarker::sizeType
BMKOverlaySizeType sizeType
图片大小类型，默认为BMKOverlaySizeAdapt
Definition: BMKIconMarker.h:23
BMKBaseMarker.h
BMKIconMarker
Definition: BMKIconMarker.h:22
BMKIconMarker::color
UIColor * color
图片混合颜色，可选
Definition: BMKIconMarker.h:30
BMKGifResource
GIF的多张图片，依次播放
Definition: BMKDrawableResource.h:89
BMKIconMarker::icons
NSArray< UIImage * > * icons
Definition: BMKIconMarker.h:36
BMKMarkerAnimateType
BMKMarkerAnimateType
marker动画类型， since 6.5.4 / 7.5.4
Definition: BMKIconMarker.h:14
BMKDrawableResource.h
BMKIconMarker::bitmapResource
BMKBitmapResource * bitmapResource
纹理资源，大量绘制相同图片创建一个纹理资源共用，必传， since 6.6.4
Definition: BMKIconMarker.h:28
BMKIconMarker::frameResource
BMKFrameResource * frameResource
多帧图片资源组,多张图片，依次播放，大量绘制相同多帧图片创建一组纹理资源共用，必传， since 6.6.4
Definition: BMKIconMarker.h:38
BMKMarkerAnimateGrow
@ BMKMarkerAnimateGrow
从地面生长
Definition: BMKIconMarker.h:17
BMKIconMarker::icon
UIImage * icon
Definition: BMKIconMarker.h:26
BMKBitmapResource
Definition: BMKDrawableResource.h:17
BMKFrameResource
多张图片，依次播放
Definition: BMKDrawableResource.h:62
BMKIconMarker::animationType
BMKMarkerAnimateType animationType
动画类型，默认BMKMarkerAnimateNone 无动画
Definition: BMKIconMarker.h:32
BMKMarkerAnimateNone
@ BMKMarkerAnimateNone
无动画
Definition: BMKIconMarker.h:15