2012-04-23 69 views
1

我是使用gps功能的新手。我的代碼所做的是允許用戶在地圖上選擇一個點,並放下一個標記。我也希望它繪製一條路徑到選定的點來引導用戶到達位置。在gps上的位置繪圖線索

我真的不知道該怎麼做,如果sombody可以幫助我找到一些教程,將不勝感激。

OverlayItem overlayItem = new OverlayItem(
              touchedpoint, "AYO", "Whats good yo"); 
            CustomPinpoint custom = new CustomPinpoint(d, 
              CampusMap.this); 
            custom.insertPinpoint(overlayItem); 
            overlayList.add(custom); 
+0

是你的問題解決了沒有 – 2012-04-29 03:27:52

+0

這個問題仍然沒有得到解決 – 2012-05-23 02:10:11

回答

0

你可以使用MyLocationOverlay,就說明你的指南針和位置;)