From e45f45afcda7fb302b1347b39fc42a5dea7c0090 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 25 Oct 2015 22:21:14 +0100 Subject: [PATCH] update regions --- OsmAnd-java/src/net/osmand/map/OsmandRegions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd-java/src/net/osmand/map/OsmandRegions.java b/OsmAnd-java/src/net/osmand/map/OsmandRegions.java index 464cd9fff5..9619dc81a0 100644 --- a/OsmAnd-java/src/net/osmand/map/OsmandRegions.java +++ b/OsmAnd-java/src/net/osmand/map/OsmandRegions.java @@ -36,7 +36,7 @@ import net.osmand.util.MapUtils; public class OsmandRegions { - private static final String MAP_TYPE = "region_map"; + public static final String MAP_TYPE = "region_map"; public static final String FIELD_LEFT_HAND_DRIVING = "left_hand_driving"; public static final String FIELD_DOWNLOAD_NAME = "download_name"; @@ -419,7 +419,7 @@ public class OsmandRegions { - private boolean isDownloadOfType(BinaryMapDataObject object, String type) { + public boolean isDownloadOfType(BinaryMapDataObject object, String type) { int[] addtypes = object.getAdditionalTypes(); for(int i = 0; i < addtypes.length; i++) { TagValuePair tp = object.getMapIndex().decodeType(addtypes[i]);