diff --git a/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java b/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java index 07e0dcb1d9..c9c411c8d1 100644 --- a/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java +++ b/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java @@ -57,12 +57,11 @@ public class BinaryInspector { if(args.length == 1 && "test".equals(args[0])) { in.inspector(new String[]{ //"-vpoi", - //"-vmap", "-vmapobjects", - //"-vaddress", "-vcities", "-vstreets", "-vstreetgroups","-vbuildings", +// "-vmap", "-vmapobjects", +// "-vaddress", "-vcities", "-vstreets", "-vstreetgroups","-vbuildings", //"-zoom=16", //"-bbox=4,55,7,50", - //"/home/victor/osmand/Test.obf" - //"/home/victor/projects/osmand/osm-gen/Map.obf" +// "/home/victor/projects/osmand/osm-gen/Test.obf" }); } else { in.inspector(args); diff --git a/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java b/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java index bb3048c255..d50287bcf0 100644 --- a/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java +++ b/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java @@ -520,6 +520,8 @@ public class MapRenderingTypes { rt.applyToTagValue.addAll(mapRulType.applyToTagValue); mapRulType.applyToTagValue.add(rt.tagValuePattern); } + } else { + mapRulType.applyToTagValue = null; } if(rt.isMain()) { mapRulType.main = true;