in my android application, i have to get user location , by user locating the marker in mapview, then textview below to map view will display the longitude and latitude, how to do it
Asked
Active
Viewed 136 times
1 Answers
0
in my code i use this code for take value latitude and longitude
LatLng latLng = new LatLng(location.getLatitude(), location.getLongitude());
after this you can create Marker on map
place_on_map = new MarkerOptions().position(latLng);

ACTPOHOM
- 93
- 1
- 6