diff --git a/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java b/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java index 7ee5213d2c..067d4e1f1e 100644 --- a/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java +++ b/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java @@ -213,7 +213,7 @@ public class MapRenderingTypes { for (String tag : tagKeySet) { String val = e.getTag(tag); MapRulType rType = getAmenityRuleType(tag, val); - if (rType != null) { + if (rType != null && val != null) { if(rType == nameEnRuleType && Algorithms.objectEquals(val, e.getTag(OSMTagKey.NAME))) { continue; }