From 0a773125353262fb8e9fd0c47c31046bf7f2a45e Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 31 Jul 2020 13:08:09 +0200 Subject: [PATCH] Introduce relation group back --- .../src/main/java/net/osmand/osm/MapRenderingTypes.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd-java/src/main/java/net/osmand/osm/MapRenderingTypes.java b/OsmAnd-java/src/main/java/net/osmand/osm/MapRenderingTypes.java index a27cba56ec..7d0a95589b 100644 --- a/OsmAnd-java/src/main/java/net/osmand/osm/MapRenderingTypes.java +++ b/OsmAnd-java/src/main/java/net/osmand/osm/MapRenderingTypes.java @@ -292,8 +292,9 @@ public abstract class MapRenderingTypes { rtype.category = parentCategory == null ? null : parentCategory.category; rtype.onlyPoint = Boolean.parseBoolean(parser.getAttributeValue("", "point")); //$NON-NLS-1$ rtype.relation = Boolean.parseBoolean(parser.getAttributeValue("", "relation")); //$NON-NLS-1$ + rtype.relationGroup = Boolean.parseBoolean(parser.getAttributeValue("", "relationGroup")); //$NON-NLS-1$ if (rtype.isMain()) { - if (rtype.relation) { + if (rtype.relationGroup) { MapRulType mrt = MapRulType.createMainEntity(tag + "_" + value, null); mrt.order = rtype.order; mrt.category = rtype.category; @@ -533,6 +534,7 @@ public abstract class MapRenderingTypes { protected String category = null; protected boolean relation; + protected boolean relationGroup; // creation of only section protected boolean map = true; protected boolean poi = true;