public final class

IntersectionOverlayOptions

extends Object
java.lang.Object
   ↳ com.tencent.tencentmap.mapsdk.maps.model.IntersectionOverlayOptions

This class is deprecated.
6.0版本之后废弃

Class Overview

All rights Reserved, Designed By lbs.qq.com

Summary

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

Public Constructors

public IntersectionOverlayOptions ()

Public Methods

public IntersectionOverlayOptions bounds (Rect bounds)

设置展示区域,以 MapView 左上角为 (0,0),右下角为(width, height) 作为路口放大图的展示区域。

Parameters
bounds 路口放大图的展示区域,单位:px(像素)

public IntersectionOverlayOptions darkMode (boolean enable)

是否使用暗色,默认为 false

public IntersectionOverlayOptions data (byte[] data)

设置要展示的数据

public IntersectionOverlayOptions distance (int distance)

设置两点距离

public Rect getBounds ()

获取展示区域

public byte[] getData ()

获取展示的数据

public String getDayStyleFilePath ()

白天路口大图样式路径

public int getDistance ()

获取距离

public String getNightStyleFilePath ()

夜晚路口大图样式路径

public Rect getRoundedCornerSize ()

public boolean isDarkMode ()

是否暗色模式

public boolean isRoundedCorner ()

是否圆角样式

public boolean isVisibility ()

是否可见

public IntersectionOverlayOptions roundedCorner (boolean enable)

是否设置圆角,默认为 false

public IntersectionOverlayOptions roundedCornerSize (int topLeft, int topRight, int bottomLeft, int bottomRight)

设置圆角半径大小

public IntersectionOverlayOptions setDayStyleFilePath (String path)

设置白天路口大图样式文件路径

public IntersectionOverlayOptions setNightStyleFilePath (String path)

设置夜晚路口大图样式文件路径

public IntersectionOverlayOptions visibility (boolean visibility)

设置可见性