| java.lang.Object | |
| ↳ | com.tencent.tencentmap.mapsdk.maps.model.IntersectionOverlayOptions |
This class is deprecated.
6.0版本之后废弃
All rights Reserved, Designed By lbs.qq.com
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| IntersectionOverlayOptions() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| IntersectionOverlayOptions |
bounds(Rect bounds)
设置展示区域,以
MapView
左上角为 (0,0),右下角为(width, height) 作为路口放大图的展示区域。 | ||||||||||
| IntersectionOverlayOptions |
darkMode(boolean enable)
是否使用暗色,默认为 false
| ||||||||||
| IntersectionOverlayOptions |
data(byte[] data)
设置要展示的数据
| ||||||||||
| IntersectionOverlayOptions |
distance(int distance)
设置两点距离
| ||||||||||
| Rect |
getBounds()
获取展示区域
| ||||||||||
| byte[] |
getData()
获取展示的数据
| ||||||||||
| String |
getDayStyleFilePath()
白天路口大图样式路径
| ||||||||||
| int |
getDistance()
获取距离
| ||||||||||
| String |
getNightStyleFilePath()
夜晚路口大图样式路径
| ||||||||||
| Rect | getRoundedCornerSize() | ||||||||||
| boolean |
isDarkMode()
是否暗色模式
| ||||||||||
| boolean |
isRoundedCorner()
是否圆角样式
| ||||||||||
| boolean |
isVisibility()
是否可见
| ||||||||||
| IntersectionOverlayOptions |
roundedCorner(boolean enable)
是否设置圆角,默认为 false
| ||||||||||
| IntersectionOverlayOptions |
roundedCornerSize(int topLeft, int topRight, int bottomLeft, int bottomRight)
设置圆角半径大小
| ||||||||||
| IntersectionOverlayOptions |
setDayStyleFilePath(String path)
设置白天路口大图样式文件路径
| ||||||||||
| IntersectionOverlayOptions |
setNightStyleFilePath(String path)
设置夜晚路口大图样式文件路径
| ||||||||||
| IntersectionOverlayOptions |
visibility(boolean visibility)
设置可见性
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
设置展示区域,以 MapView
左上角为 (0,0),右下角为(width, height) 作为路口放大图的展示区域。
| bounds | 路口放大图的展示区域,单位:px(像素) |
|---|
获取展示区域
获取展示的数据
白天路口大图样式路径
获取距离
夜晚路口大图样式路径
是否暗色模式
是否圆角样式
是否可见
设置圆角半径大小