TencentNavKit

TNKEnlargedMapConfig.h
Go to the documentation of this file.
1//
2// TNKEnlargedMapConfig.h
3// TencentNavKit
4//
5// Created by mol on 2023/5/18.
6// Copyright © 2023 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <UIKit/UIKit.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
17@interface TNKEnlargedMapConfig : NSObject <NSCopying>
18
23@property (nonatomic, assign) BOOL enlargedMapEnabled;
24
29@property (nonatomic, assign) CGRect enlargedMapRect;
30
34@property (nonatomic, assign) CGFloat enlargedMapAspect;
35
39@property (nonatomic, assign) BOOL showEnlargedMapProgressView;
40
44@property (nonatomic, assign) float bottomLeftCornerRadius;
45
49@property (nonatomic, assign) float bottomRightCornerRadius;
50
51
55@property (nonatomic, assign) float topLeftCornerRadius;
56
60@property (nonatomic, assign) float topRightCornerRadius;
61
62@end
63
64NS_ASSUME_NONNULL_END
TNKEnlargedMapConfig
放大图配置类
Definition: TNKEnlargedMapConfig.h:17
TNKEnlargedMapConfig::bottomRightCornerRadius
float bottomRightCornerRadius
路口放大图右下圆角，默认为20
Definition: TNKEnlargedMapConfig.h:49
TNKEnlargedMapConfig::enlargedMapAspect
CGFloat enlargedMapAspect
路口放大图宽高比，取值范围[1.0 , 2.0], 默认值为kTNKEnlargedIntersectionAspect。
Definition: TNKEnlargedMapConfig.h:34
TNKEnlargedMapConfig::topRightCornerRadius
float topRightCornerRadius
路口放大图右下圆角，默认为0
Definition: TNKEnlargedMapConfig.h:60
TNKEnlargedMapConfig::enlargedMapEnabled
BOOL enlargedMapEnabled
设置在3D车头朝上和2D地图朝北模式下 显示/隐藏路口放大图. 默认为YES 注意不管此参数如何设置，在全览模式和剩余全览模式下都会隐藏.
Definition: TNKEnlargedMapConfig.h:23
TNKEnlargedMapConfig::showEnlargedMapProgressView
BOOL showEnlargedMapProgressView
路口放大图中顶部的进度条是否展示，默认为YES
Definition: TNKEnlargedMapConfig.h:39
TNKEnlargedMapConfig::topLeftCornerRadius
float topLeftCornerRadius
路口放大图左下圆角，默认为0
Definition: TNKEnlargedMapConfig.h:55
TNKEnlargedMapConfig::bottomLeftCornerRadius
float bottomLeftCornerRadius
路口放大图左下圆角，默认为20
Definition: TNKEnlargedMapConfig.h:44
TNKEnlargedMapConfig::enlargedMapRect
CGRect enlargedMapRect
路口放大图摆放位置。rect.orgin.x, rect.origin.y, rect.size.width生效, 高由enlargedIntersectionAspect决定 当前正在展示路口放大图时...
Definition: TNKEnlargedMapConfig.h:29