Fix OsmandRegions
This commit is contained in:
parent
d79da17959
commit
0dd39caa71
1 changed files with 20 additions and 4 deletions
|
@ -97,19 +97,35 @@ public class OsmandRegions {
|
|||
}
|
||||
|
||||
private String getLang(BinaryMapDataObject o) {
|
||||
if (langType != null) {
|
||||
return o.getNameByType(langType);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
private String getMetric(BinaryMapDataObject o) {
|
||||
if (metricType != null) {
|
||||
return o.getNameByType(metricType);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
private String getLeftHandDriving(BinaryMapDataObject o) {
|
||||
if (leftHandDrivingType != null) {
|
||||
return o.getNameByType(leftHandDrivingType);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
private String getRoadSigns(BinaryMapDataObject o) {
|
||||
if (roadSignsType != null) {
|
||||
return o.getNameByType(roadSignsType);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public String getDownloadName(BinaryMapDataObject o) {
|
||||
|
|
Loading…
Reference in a new issue