Fix crash
This commit is contained in:
parent
9083b0b673
commit
13251be6ab
1 changed files with 1 additions and 1 deletions
|
@ -688,7 +688,7 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm
|
|||
private void addMapMarker() {
|
||||
String latitude = ((EditText) mainView.findViewById(R.id.latitude_edit_text)).getText().toString();
|
||||
String longitude = ((EditText) mainView.findViewById(R.id.longitude_edit_text)).getText().toString();
|
||||
String locPhrase = latitude + ", " + longitude;
|
||||
String locPhrase = latitude + " " + longitude;
|
||||
LatLon latLon = MapUtils.parseLocation(locPhrase);
|
||||
if (latLon != null) {
|
||||
String name = ((EditText) mainView.findViewById(R.id.name_edit_text)).getText().toString();
|
||||
|
|
Loading…
Reference in a new issue