Update Map rendering types usage
This commit is contained in:
parent
55bc5ef3d1
commit
dfceb65104
1 changed files with 5 additions and 1 deletions
|
@ -173,7 +173,11 @@ public class MapRenderingTypes {
|
|||
return getAmenityType(tag, val, false);
|
||||
}
|
||||
|
||||
public AmenityType getAmenityType(String tag, String val, boolean relation){
|
||||
public AmenityType getAmenityTypeForRelation(String tag, String val){
|
||||
return getAmenityType(tag, val, true);
|
||||
}
|
||||
|
||||
private AmenityType getAmenityType(String tag, String val, boolean relation){
|
||||
// register amenity types
|
||||
Map<String, AmenityRuleType> rules = getAmenityEncodingRuleTypes();
|
||||
AmenityRuleType rt = rules.get(constructRuleKey(tag, val));
|
||||
|
|
Loading…
Reference in a new issue