We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting the precise location you need the GPS data to be in 8 decimal place.
private void updateDisplay() { if(mCurrentLocation == null) { tv3.setText("Determining Your Location..."); } else { loc[1] = mCurrentLocation.getLatitude(); loc[0] = mCurrentLocation.getLongitude(); tv3.setText(""); tv6.setText(String.format("Lon: %.8f", mCurrentLocation.getLongitude())); tv7.setText(String.format("Lat: %.8f", mCurrentLocation.getLatitude())); // get elevation from google Elevation_Insert("https://maps.googleapis.com/maps/api/elevation/json?locations="+ mCurrentLocation.getLatitude()+","+mCurrentLocation.getLongitude()+"&key=AIzaSyCEhYHn0AQJC7RyfdhUpi3-ff0Qy44E464"); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Getting the precise location you need the GPS data to be in 8 decimal place.
The text was updated successfully, but these errors were encountered: