public class MyLocationConfiguration
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
MyLocationConfiguration.LocationMode
定位图层显示方式
|
限定符和类型 | 字段和说明 |
---|---|
int |
accuracyCircleFillColor
精度圈填充颜色
|
int |
accuracyCircleStrokeColor
精度圈边框颜色
|
BitmapDescriptor |
customMarker
用户自定义定位图标
|
boolean |
enableDirection
是否允许显示方向信息
|
MyLocationConfiguration.LocationMode |
locationMode
定位图层显示方式
|
构造器和说明 |
---|
MyLocationConfiguration(MyLocationConfiguration.LocationMode mode,
boolean enableDirection,
BitmapDescriptor customMarker)
构造函数
|
MyLocationConfiguration(MyLocationConfiguration.LocationMode mode,
boolean enableDirection,
BitmapDescriptor customMarker,
int accuracyCircleFillColor,
int accuracyCircleStrokeColor)
构造函数
|
public final MyLocationConfiguration.LocationMode locationMode
public final boolean enableDirection
public final BitmapDescriptor customMarker
public int accuracyCircleFillColor
public int accuracyCircleStrokeColor
public MyLocationConfiguration(MyLocationConfiguration.LocationMode mode, boolean enableDirection, BitmapDescriptor customMarker, int accuracyCircleFillColor, int accuracyCircleStrokeColor)
mode
- 定位图层显示方式, 默认为 LocationMode.NORMAL 普通态enableDirection
- 是否允许显示方向信息customMarker
- 设置用户自定义定位图标,可以为 nullaccuracyCircleFillColor
- 设置精度圈填充颜色accuracyCircleStrokeColor
- 设置精度圈填充颜色public MyLocationConfiguration(MyLocationConfiguration.LocationMode mode, boolean enableDirection, BitmapDescriptor customMarker)
mode
- 定位图层显示方式, 默认为 LocationMode.NORMAL 普通态enableDirection
- 是否允许显示方向信息customMarker
- 设置用户自定义定位图标,可以为 null