[gnome-maps/wip/mlundblad/add-email-and-takeaway: 7/12] osmUtils: Update e-mail address for places
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/add-email-and-takeaway: 7/12] osmUtils: Update e-mail address for places
- Date: Fri, 30 Apr 2021 21:25:11 +0000 (UTC)
commit 92649a4e0b608cf38bd04b72151eac224027ef44
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]