I am failry new at using the gps function. What my code does is it allows the user to select a point on the map, and it drops a marker. I also want it to draw a trail to the selected point to guide the user to the location.
I am not really sure how to go about doing so, if sombody can maybe help me find a tutorial, of some sort that would be greatly appreciated.
OverlayItem overlayItem = new OverlayItem(
touchedpoint, "AYO", "Whats good yo");
CustomPinpoint custom = new CustomPinpoint(d,
CampusMap.this);
custom.insertPinpoint(overlayItem);
overlayList.add(custom);
您可以使用MyLocationOverlay
,它向您显示指南针和位置;)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.