程序包 | 说明 |
---|---|
com.baidu.mapapi.map |
地图展示与操作相关方法,覆盖物相关方法
|
限定符和类型 | 方法和说明 |
---|---|
MyLocationConfiguration.Builder |
MyLocationConfiguration.Builder.setAccuracyCircleFillColor(int accuracyCircleFillColor)
设置精度框的填充色
|
MyLocationConfiguration.Builder |
MyLocationConfiguration.Builder.setAccuracyCircleStrokeColor(int accuracyCircleFillColor)
设置精度框的颜色
|
MyLocationConfiguration.Builder |
MyLocationConfiguration.Builder.setAnimation(boolean isNeedAnimation)
设置图标是否做呼吸动画
|
MyLocationConfiguration.Builder |
MyLocationConfiguration.Builder.setArrow(BitmapDescriptor arrow)
设置定位方向箭头
|
MyLocationConfiguration.Builder |
MyLocationConfiguration.Builder.setArrowSize(float arrowSize)
设置定位方向箭头的尺寸比例
|
MyLocationConfiguration.Builder |
MyLocationConfiguration.Builder.setCustomMarker(BitmapDescriptor customMarker)
设置自定义定位图标 png,jpg
|
MyLocationConfiguration.Builder |
MyLocationConfiguration.Builder.setGifMarker(java.lang.String gifPath)
设置gif图标
|
MyLocationConfiguration.Builder |
MyLocationConfiguration.Builder.setMarkerRotation(boolean isRotation)
设置图标是否可以旋转
|
MyLocationConfiguration.Builder |
MyLocationConfiguration.Builder.setMarkerSize(float markerSize)
设置定位图标的尺寸比例
|