【发布时间】:2012-01-04 17:20:22
【问题描述】:
如何将箭头(标记)指向用户的移动?
在模拟器上,我朝红色箭头 (skrinshot) 的方向移动,标记向一侧移动。
我的代码,在地图上添加箭头:
LinearLayout vGoing = (LinearLayout) View.inflate(getApplicationContext(), R.layout.mylocationidentificationgoing, null);
mapView.addView(vGoing, new MapView.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT,ViewGroup.LayoutParams.WRAP_CONTENT,point,MapView.LayoutParams.BOTTOM_CENTER));
【问题讨论】:
标签: android maps android-mapview