我正在使用MapView创建一个应用程序,当我重绘布局时,应用程序会在xml中为MapView提供错误。有什么问题?
代码:
//add points to map //sets the zoom to see the location closer mapview.getController().setZoom(12); //this will let you to zoom in or out using the controllers mapview.setBuiltInZoomControls(true); List< Overlay > mapOverlays = mapview.getOverlays(); Drawable drawable = this.getResources().getDrawable(R.drawable._map_shop); MyItemizedOverlay itemizedoverlay = new MyItemizedOverlay(drawable, this);
Cumps