Introduce relation group back

This commit is contained in:
Victor Shcherb 2020-07-31 13:08:09 +02:00
parent 7567a1b3ae
commit 0a77312535

View file

@ -292,8 +292,9 @@ public abstract class MapRenderingTypes {
rtype.category = parentCategory == null ? null : parentCategory.category; rtype.category = parentCategory == null ? null : parentCategory.category;
rtype.onlyPoint = Boolean.parseBoolean(parser.getAttributeValue("", "point")); //$NON-NLS-1$ rtype.onlyPoint = Boolean.parseBoolean(parser.getAttributeValue("", "point")); //$NON-NLS-1$
rtype.relation = Boolean.parseBoolean(parser.getAttributeValue("", "relation")); //$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.isMain()) {
if (rtype.relation) { if (rtype.relationGroup) {
MapRulType mrt = MapRulType.createMainEntity(tag + "_" + value, null); MapRulType mrt = MapRulType.createMainEntity(tag + "_" + value, null);
mrt.order = rtype.order; mrt.order = rtype.order;
mrt.category = rtype.category; mrt.category = rtype.category;
@ -533,6 +534,7 @@ public abstract class MapRenderingTypes {
protected String category = null; protected String category = null;
protected boolean relation; protected boolean relation;
protected boolean relationGroup;
// creation of only section // creation of only section
protected boolean map = true; protected boolean map = true;
protected boolean poi = true; protected boolean poi = true;