Temporary fix of poi additionals in context menu
This commit is contained in:
parent
f8eb5fc07e
commit
f0f684a6e5
1 changed files with 3 additions and 0 deletions
|
@ -214,6 +214,9 @@ public class AmenityMenuBuilder extends MenuBuilder {
|
||||||
String poiTypeKeyName = "";
|
String poiTypeKeyName = "";
|
||||||
|
|
||||||
AbstractPoiType pt = poiTypes.getAnyPoiAdditionalTypeByKey(key);
|
AbstractPoiType pt = poiTypes.getAnyPoiAdditionalTypeByKey(key);
|
||||||
|
if (pt == null && !Algorithms.isEmpty(vl) && vl.length() < 50) {
|
||||||
|
pt = poiTypes.getAnyPoiAdditionalTypeByKey(key + "_" + vl);
|
||||||
|
}
|
||||||
PoiType pType = null;
|
PoiType pType = null;
|
||||||
if (pt != null) {
|
if (pt != null) {
|
||||||
pType = (PoiType) pt;
|
pType = (PoiType) pt;
|
||||||
|
|
Loading…
Reference in a new issue