[gnome-maps/wip/mlundblad/add-email-and-takeaway] osmUtils: Update e-mail address for places



commit 459a765a5185269078272ccd963769a9c5577d86
Author: Marcus Lundblad <ml update uu se>
Date:   Wed Apr 28 22:52:11 2021 +0200

    osmUtils: Update e-mail address for places
    
    Also include email when updating edited places.

 src/osmUtils.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/osmUtils.js b/src/osmUtils.js
index 847c975c..28310d8f 100644
--- a/src/osmUtils.js
+++ b/src/osmUtils.js
@@ -64,6 +64,7 @@ function updatePlaceFromOSMObject(place, object) {
     }
     place.population = object.get_tag('population');
     place.website = object.get_tag('website');
+    place.email = object.get_tag('email');
     place.phone = object.get_tag('phone');
     place.wiki = object.get_tag('wikipedia');
     place.openingHours = object.get_tag('opening_hours');


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]