Add relation group tag
This commit is contained in:
parent
b37a6e47bc
commit
c306af55d3
1 changed files with 7 additions and 1 deletions
|
@ -264,6 +264,7 @@ 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()) {
|
||||
rtype.namePrefix = parser.getAttributeValue("", "namePrefix"); //$NON-NLS-1$
|
||||
if (rtype.namePrefix == null) {
|
||||
|
@ -420,6 +421,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;
|
||||
|
@ -444,7 +446,6 @@ public abstract class MapRenderingTypes {
|
|||
return poi;
|
||||
}
|
||||
|
||||
|
||||
public boolean isMap(){
|
||||
return map;
|
||||
}
|
||||
|
@ -542,6 +543,11 @@ public abstract class MapRenderingTypes {
|
|||
return relation;
|
||||
}
|
||||
|
||||
public boolean isRelationGroup() {
|
||||
return relationGroup;
|
||||
}
|
||||
|
||||
|
||||
public int getFreq() {
|
||||
return freq;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue