Fix issue #3844
This commit is contained in:
parent
e1748a0c2e
commit
0588eb7cd4
2 changed files with 7 additions and 0 deletions
|
@ -814,6 +814,12 @@ public class MapPoiTypes {
|
|||
if (!otag.equals(tag) && !otag.equals("name")) {
|
||||
PoiType pat = poiTypesByTag.get(otag + "/" + e.getValue());
|
||||
if (pat == null) {
|
||||
for(String splValue : e.getValue().split(";")) {
|
||||
PoiType ps = poiTypesByTag.get(otag + "/" + splValue.trim());
|
||||
if(ps != null) {
|
||||
a.setAdditionalInfo(ps.getKeyName(), splValue.trim());
|
||||
}
|
||||
}
|
||||
pat = poiTypesByTag.get(otag);
|
||||
}
|
||||
if (pat != null && pat.isAdditional()) {
|
||||
|
|
|
@ -358,6 +358,7 @@ public abstract class MapRenderingTypes {
|
|||
protected static class TagValuePattern {
|
||||
protected String tag;
|
||||
protected String value;
|
||||
protected String tagPrefix;
|
||||
protected int substrSt = 0;
|
||||
protected int substrEnd = 0;
|
||||
protected TagValuePattern(String t, String v) {
|
||||
|
|
Loading…
Reference in a new issue