diff options
author | Marcus Lundblad <ml@update.uu.se> | 2020-10-05 21:29:20 +0200 |
---|---|---|
committer | Marcus Lundblad <ml@update.uu.se> | 2020-10-05 21:33:51 +0200 |
commit | cf93177205307a0e16d5525cbd1d3b20d56bf534 (patch) | |
tree | e22e2195a6891553e7646343b42d4433361f93f4 | |
parent | 0ce0e927ce5e0963479e5c80d1f9690737c01d85 (diff) | |
download | gnome-maps-cf93177205307a0e16d5525cbd1d3b20d56bf534.tar.gz |
osmUtils: Add missing tags in updatePlaceFromOSMObjectwip/mlundblad/missing-osm-tag-edit-update
Update the 'toilets', 'internetAccess', and 'religion'
properties on the Place instance from the corresponding
OSM tags on the object having been edited.
-rw-r--r-- | src/osmUtils.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osmUtils.js b/src/osmUtils.js index 7ce4b2a2..ad19c7c5 100644 --- a/src/osmUtils.js +++ b/src/osmUtils.js @@ -62,6 +62,9 @@ function updatePlaceFromOSMObject(place, object) { place.wiki = object.get_tag('wikipedia'); place.openingHours = object.get_tag('opening_hours'); place.wheelchair = object.get_tag('wheelchair'); + place.toilets = object.get_tag('toilets'); + place.internetAccess = object.get_tag('internet_access'); + place.religion = object.get_tag('religion'); let altitude = object.get_tag('ele'); |