public interface TencentMapComponent
Modifier and Type | Method and Description |
---|---|
IAlphaAnimation |
createAlphaAnimation(float fromAlpha,
float toAlpha)
创建渐变动画
|
IAnimationSet |
createAnimationSet(boolean shareInterpolator)
创建动画集合
|
IEmergeAnimation |
createEmergeAnimation(LatLng startPoint)
创建动画从哪点开始然后向两端扩展,当然也可以设置为起点或是终点。
如果设置的点不在线上,则从线与这个点最近的那个点开始。
|
HeatMapTileProvider |
createHeatMapTileProvider(HeatMapTileProvider.Builder builder)
创建热力图数据Provider
|
IRotateAnimation |
createRotateAnimation(float fromdegree,
float todegree,
float pivotx,
float pivoty,
float pivotz)
创建旋转动画
|
IScaleAnimation |
createScaleAnimation(float fromX,
float toX,
float fromY,
float toY)
创建缩放动画
|
ITranslateAnimation |
createTranslateAnimation(LatLng target)
创建平移动画
|
TencentMapServiceProtocol |
getMapServiceProtocol()
获取地图服务协议
|
IRotateAnimation createRotateAnimation(float fromdegree, float todegree, float pivotx, float pivoty, float pivotz)
fromdegree
- 开始角度 [0-360]todegree
- 结束角度 [0-360]pivotx
- 轴心x坐标pivoty
- 轴心y坐标pivotz
- 轴心z坐标IScaleAnimation createScaleAnimation(float fromX, float toX, float fromY, float toY)
fromX
- 相对于X方向宽度的开始倍率toX
- 相对于X方向宽度的结束倍率fromY
- 相对于Y方向长度的开始倍率toY
- 相对于Y方向长度的结束倍率ITranslateAnimation createTranslateAnimation(LatLng target)
target
- 目标坐标点IEmergeAnimation createEmergeAnimation(LatLng startPoint)
startPoint
- 开始坐标点IAnimationSet createAnimationSet(boolean shareInterpolator)
shareInterpolator
- 是否使用相同的插值器IAlphaAnimation createAlphaAnimation(float fromAlpha, float toAlpha)
fromAlpha
- 开始alpha通道值 [0,1]toAlpha
- 结束alpha通道值 [0,1]HeatMapTileProvider createHeatMapTileProvider(HeatMapTileProvider.Builder builder)
builder
- TencentMapServiceProtocol getMapServiceProtocol()