diff --git a/OsmAnd-java/src/main/java/net/osmand/binary/GeocodingUtilities.java b/OsmAnd-java/src/main/java/net/osmand/binary/GeocodingUtilities.java index ddcd137d92..1699d749d9 100644 --- a/OsmAnd-java/src/main/java/net/osmand/binary/GeocodingUtilities.java +++ b/OsmAnd-java/src/main/java/net/osmand/binary/GeocodingUtilities.java @@ -5,7 +5,6 @@ import net.osmand.ResultMatcher; import net.osmand.CollatorStringMatcher.StringMatcherMode; import net.osmand.binary.BinaryMapIndexReader.SearchRequest; import net.osmand.data.Building; -import net.osmand.data.Building.BuildingInterpolation; import net.osmand.data.City; import net.osmand.data.LatLon; import net.osmand.data.MapObject; @@ -22,14 +21,12 @@ import org.apache.commons.logging.Log; import java.io.IOException; import java.text.Collator; import java.util.ArrayList; -import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; -import java.util.TreeSet; import gnu.trove.set.hash.TLongHashSet; diff --git a/OsmAnd-java/src/main/java/net/osmand/map/OsmandRegions.java b/OsmAnd-java/src/main/java/net/osmand/map/OsmandRegions.java index ca7e67ab43..629514bdb9 100644 --- a/OsmAnd-java/src/main/java/net/osmand/map/OsmandRegions.java +++ b/OsmAnd-java/src/main/java/net/osmand/map/OsmandRegions.java @@ -629,6 +629,7 @@ public class OsmandRegions { return; } WorldRegion world = new WorldRegion(WorldRegion.WORLD); + initWorldRegion(world, WorldRegion.ANTARCTICA_REGION_ID); initWorldRegion(world, WorldRegion.AFRICA_REGION_ID); initWorldRegion(world, WorldRegion.ASIA_REGION_ID); initWorldRegion(world, WorldRegion.CENTRAL_AMERICA_REGION_ID); diff --git a/OsmAnd-java/src/main/java/net/osmand/map/WorldRegion.java b/OsmAnd-java/src/main/java/net/osmand/map/WorldRegion.java index bdc5d5fd08..38fbc40c3d 100644 --- a/OsmAnd-java/src/main/java/net/osmand/map/WorldRegion.java +++ b/OsmAnd-java/src/main/java/net/osmand/map/WorldRegion.java @@ -10,6 +10,7 @@ import java.util.List; public class WorldRegion implements Serializable { public static final String WORLD_BASEMAP = "world_basemap"; + public static final String ANTARCTICA_REGION_ID = "antarctica"; public static final String AFRICA_REGION_ID = "africa"; public static final String ASIA_REGION_ID = "asia"; public static final String AUSTRALIA_AND_OCEANIA_REGION_ID = "australia-oceania";