onLocationChanged(Location location) { OverlayItemcurrentOverlay = new OverlayItem(getCurrantPoint(),"Current Location","Here is my current location!!itemizedoverlay2);
然而,这个解决方案提供了一个相当丑陋的列表视图,因为它没有显示Overlayitems的不同标题,而是类似于OverlayItem@jiozl26。我想我应该用一个自定义的listview来做这件事,但我不确定这是不是最简单/最有效的方法。adapter = new ArrayAdapter<OverlayItem>(this, android.R.layout.simple_list_item_1, custom.pinpoints);overlayItem = new OverlayIte