iOS高德地图SDK(3D) V10.0.600
Loading...
Searching...
No Matches
MAUserLocationRepresentation.h
Go to the documentation of this file.
1//
2// MAUserLocationRepresentation.h
3// MAMapKit
4//
5// Created by shaobin on 16/12/27.
6// Copyright © 2016年 Amap. All rights reserved.
7//
8
9#import "MAConfig.h"
10#import <Foundation/Foundation.h>
11#import <UIKit/UIKit.h>
12
13#define kAccuracyCircleDefaultColor [UIColor colorWithRed:136/255.0 green:166/255.0 blue:227/255.0 alpha:.3]
14
16@interface MAUserLocationRepresentation : NSObject
17
19@property (nonatomic, assign) BOOL showsAccuracyRing;
21@property (nonatomic, assign) BOOL showsHeadingIndicator;
23@property (nonatomic, strong) UIColor *fillColor;
25@property (nonatomic, strong) UIColor *strokeColor;
27@property (nonatomic, assign) CGFloat lineWidth;
28
30@property (nonatomic, strong) UIColor *locationDotBgColor;
32@property (nonatomic, strong) UIColor *locationDotFillColor;
34@property (nonatomic, assign) BOOL enablePulseAnnimation;
36@property (nonatomic, strong) UIImage* image;
37
38@end
用户位置显示样式控制
Definition MAUserLocationRepresentation.h:17
BOOL enablePulseAnnimation
内部蓝色圆点是否使用律动效果, 默认YES
Definition MAUserLocationRepresentation.h:34
BOOL showsAccuracyRing
精度圈是否显示,默认YES
Definition MAUserLocationRepresentation.h:19
UIColor * strokeColor
精度圈 边线颜色, 默认 kAccuracyCircleDefaultColor
Definition MAUserLocationRepresentation.h:25
UIColor * locationDotFillColor
定位点蓝色圆点颜色,不设置默认蓝色
Definition MAUserLocationRepresentation.h:32
UIImage * image
定位图标, 与蓝色原点互斥
Definition MAUserLocationRepresentation.h:36
UIColor * fillColor
精度圈 填充颜色, 默认 kAccuracyCircleDefaultColor
Definition MAUserLocationRepresentation.h:23
UIColor * locationDotBgColor
定位点背景色,不设置默认白色
Definition MAUserLocationRepresentation.h:30
CGFloat lineWidth
精度圈 边线宽度,默认0
Definition MAUserLocationRepresentation.h:27
BOOL showsHeadingIndicator
是否显示方向指示(MAUserTrackingModeFollowWithHeading模式开启)。默认为YES
Definition MAUserLocationRepresentation.h:21
© 2017 高德信息技术有限公司 版权所有,保留所有权利。