diff --git a/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java b/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java index 74beacb972..d78e1f1336 100644 --- a/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java +++ b/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java @@ -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 rules = getAmenityEncodingRuleTypes(); AmenityRuleType rt = rules.get(constructRuleKey(tag, val));