Update output

This commit is contained in:
Victor Shcherb 2015-10-15 00:53:15 +02:00
parent c472c05249
commit 61300925ad
2 changed files with 12 additions and 7 deletions

View file

@ -66,17 +66,17 @@ public class BinaryInspector {
// test cases show info
if(args.length == 1 && "test".equals(args[0])) {
in.inspector(new String[]{
// "-vpoi",
"-vpoi",
// "-vmap","-vmapobjects", // "-vmapcoordinates",
"-vrouting",
// "-vrouting",
// "-vaddress", "-vcities",//"-vstreetgroups",
// "-vstreets", "-vbuildings", "-vintersections",
// "-zoom=15",
// "-bbox=1.74,51.17,1.75,51.16",
// "-vstats",
// "/Users/victorshcherb/osmand/maps/Synthetic_test_rendering.obf"
"/Users/victorshcherb/osmand/maps/Synthetic_test_rendering.obf"
// "/Users/victorshcherb/osmand/maps/Netherlands_europe_2.road.obf"
"/Users/victorshcherb/osmand/maps/Map.obf"
// "/Users/victorshcherb/osmand/maps/Map.obf"
});
} else {
in.inspector(args);
@ -1036,9 +1036,9 @@ public class BinaryInspector {
while(it.hasNext()) {
Entry<String, String> e = it.next();
if(e.getValue().startsWith(" gz ")) {
s += e.getKey() +"=...";
s += " " + e.getKey() +"=...";
} else {
s += e.getKey() +"=" +e.getValue();
s += " " + e.getKey() +"=" +e.getValue();
}
}

View file

@ -56,6 +56,11 @@ public class MapPoiTypes {
}
public static void setDefault(MapPoiTypes types) {
DEFAULT_INSTANCE = types;
DEFAULT_INSTANCE.init();
}
public static MapPoiTypes getDefault() {
if(DEFAULT_INSTANCE == null){
DEFAULT_INSTANCE = new MapPoiTypes(null);