Map rendering types
This commit is contained in:
parent
36506ceb51
commit
7c48e7052f
1 changed files with 2 additions and 2 deletions
|
@ -473,7 +473,7 @@ public class MapRenderingTypes {
|
|||
}
|
||||
|
||||
|
||||
if (poiParentCategory != null) {
|
||||
if (poiParentCategory != null && poiParentCategory.length() > 0) {
|
||||
rtype.poiCategory = AmenityType.getAndRegisterType(poiParentCategory);
|
||||
rtype.poiSpecified = true;
|
||||
}
|
||||
|
@ -482,7 +482,7 @@ public class MapRenderingTypes {
|
|||
}
|
||||
|
||||
String poiCategory = parser.getAttributeValue("", "poi_category");
|
||||
if (poiCategory != null) {
|
||||
if (poiCategory != null && poiCategory.length() > 0) {
|
||||
rtype.poiSpecified = true;
|
||||
if (poiCategory.length() == 0) {
|
||||
rtype.poiCategory = null;
|
||||
|
|
Loading…
Reference in a new issue