2011-08-26 4 views

답변

2

내가 방법을 발견했다 : mapComponent는 BasicMapComponent는

try { 
     Image poiImage = Image.createImage("/res/drawable/gps_marker.png"); 
     PlaceLabel poiLabel =new PlaceLabel("location"); 
     Place p = new Place(1, poiLabel, poiImage, lon, lat); 
     mapComponent.addPlace(p); 
    } catch (IOException e) { 
     Log.d("MAPA", "Couldn't location marker image."); 
    } 

입니다.

관련 문제