Commit ad9d45a8 authored by Marcus Lundblad's avatar Marcus Lundblad
Browse files

overpass: Set e-mail address on place when available

parent 1ea42080
Pipeline #277898 passed with stage
in 11 minutes and 26 seconds
......@@ -215,6 +215,10 @@ var Overpass = GObject.registerClass({
place.website = element.tags['contact:website'];
if (element.tags.website)
place.website = element.tags.website;
if (element.tags['contact:email'])
place.email = element.tags['contact:email'];
if (element.tags.email)
place.email = element.tags.email;
if (element.tags['contact:phone'])
place.phone = element.tags['contact:phone'];
if (element.tags.phone)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment