Fix blank in LatLon display

This commit is contained in:
sonora 2016-09-19 22:45:35 +02:00
parent b0d4c1d120
commit 0947c9fb47

View file

@ -287,7 +287,7 @@ public class GeoIntentActivity extends OsmandListActivity {
((Amenity) point).setType(getMyApplication().getPoiTypes().getUserDefinedCategory()); ((Amenity) point).setType(getMyApplication().getPoiTypes().getUserDefinedCategory());
((Amenity) point).setSubType(""); ((Amenity) point).setSubType("");
point.setLocation(lat, lon); point.setLocation(lat, lon);
point.setName("Lat: " + lat + ",Lon:" + lon); point.setName("Lat: " + lat + ", Lon:" + lon);
return point; return point;
} }
@ -401,7 +401,7 @@ public class GeoIntentActivity extends OsmandListActivity {
} }
public GeoPointSearch(double lat, double lon, int zoom) { public GeoPointSearch(double lat, double lon, int zoom) {
this(lat, lon, "Lat: " + lat + ",Lon: " + lon, zoom); this(lat, lon, "Lat: " + lat + ", Lon: " + lon, zoom);
} }
public GeoPointSearch(double lat, double lon, String name) { public GeoPointSearch(double lat, double lon, String name) {