Fix text types
This commit is contained in:
parent
02f0be7d22
commit
bf9f0e5220
1 changed files with 9 additions and 3 deletions
|
@ -67,9 +67,15 @@ public class Amenity extends MapObject {
|
|||
if(this.additionalInfo == null){
|
||||
this.additionalInfo = new LinkedHashMap<String, String>();
|
||||
}
|
||||
this.additionalInfo.put(tag, value);
|
||||
if(OPENING_HOURS.equals(tag)) {
|
||||
this.openingHours = value;
|
||||
if("name".equals(tag)) {
|
||||
setName(value);
|
||||
} else if("name:en".equals(tag)) {
|
||||
setEnName(value);
|
||||
} else {
|
||||
this.additionalInfo.put(tag, value);
|
||||
if (OPENING_HOURS.equals(tag)) {
|
||||
this.openingHours = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue