Update Map rendering types usage

This commit is contained in:
vshcherb 2013-11-03 16:27:04 +01:00
parent 55bc5ef3d1
commit dfceb65104

View file

@ -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));