From 2b002357c1f01ec1f3a0fb51ef932ec8d9b47c3f Mon Sep 17 00:00:00 2001 From: vshcherb Date: Wed, 27 Nov 2013 01:03:02 +0100 Subject: [PATCH] Update MapRenderingTypes.java --- OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }