Add osmand regions
This commit is contained in:
parent
7eba363604
commit
2077493fe9
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ public class OsmandRegions {
|
||||||
reader = new BinaryMapIndexReader(new RandomAccessFile(fileName, "r"));
|
reader = new BinaryMapIndexReader(new RandomAccessFile(fileName, "r"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean containsCountry(String name){
|
||||||
|
return countries.containsKey(name);
|
||||||
|
}
|
||||||
|
|
||||||
public String getDownloadName(BinaryMapDataObject o) {
|
public String getDownloadName(BinaryMapDataObject o) {
|
||||||
if(downloadNameType == null) {
|
if(downloadNameType == null) {
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue