Add antarctica

This commit is contained in:
Victor Shcherb 2019-12-18 20:42:14 +01:00
parent afe97c09b6
commit ac76b1645d
3 changed files with 2 additions and 3 deletions

View file

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

View file

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

View file

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