Fix text types
This commit is contained in:
parent
02f0be7d22
commit
bf9f0e5220
1 changed files with 9 additions and 3 deletions
|
@ -67,11 +67,17 @@ public class Amenity extends MapObject {
|
|||
if(this.additionalInfo == null){
|
||||
this.additionalInfo = new LinkedHashMap<String, String>();
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue