Add osmand regions

This commit is contained in:
vshcherb 2013-09-25 11:09:31 +02:00
parent 7eba363604
commit 2077493fe9

View file

@ -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;