Update OsmAnd/src/net/osmand/plus/FavouritesDbHelper.java
This commit is contained in:
parent
cf20148fcf
commit
54c1dcfa6f
1 changed files with 4 additions and 1 deletions
|
@ -81,7 +81,10 @@ public class FavouritesDbHelper extends SQLiteOpenHelper {
|
|||
WptPt pt = new WptPt();
|
||||
pt.lat = p.getLatitude();
|
||||
pt.lon = p.getLongitude();
|
||||
pt.name = p.getName() + "_" + p.getCategory();
|
||||
if (p.getCategory().length() > 0)
|
||||
pt.name = p.getName() + "_" + p.getCategory();
|
||||
else
|
||||
pt.name = p.getName();
|
||||
gpx.points.add(pt);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue