我在这段代码中显示我的当前位置时遇到问题。你能告诉我如何添加可以缩放并显示我当前位置的代码吗?
public class MapaActivity extends MapActivity
{
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.mapa);
MapView mapView = (MapView) findViewById(R.id.mapview);
mapView.setBuiltInZoomControls(true);
List<Overlay> mapOverlays = mapView.getOverlays();
Drawable drawable = this.getResources().getDrawable(R.drawable.icon);
HelloItemizedOverlay itemizedoverlay = new HelloItemizedOverlay(drawable,this);
GeoPoint point = new GeoPoint(44900101,14839100);
OverlayItem overlayitem = new OverlayItem(point, "Pin","Test pin");
itemizedoverlay.addOverlay(overlayitem);
mapOverlays.add(itemizedoverlay);