This commit is contained in:
Victor Shcherb 2018-02-03 18:53:51 +01:00
parent e1748a0c2e
commit 0588eb7cd4
2 changed files with 7 additions and 0 deletions

View file

@ -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()) {

View file

@ -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) {