Update MapRenderingTypes.java

This commit is contained in:
vshcherb 2013-11-27 01:03:02 +01:00
parent 9798a3b55c
commit 2b002357c1

View file

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