zbycz / osmapp

Lets make a universal app for OpenStreetMap
https://osmapp.org
GNU General Public License v3.0
164 stars 15 forks source link

Contact renderers #378

Open Dlurak opened 1 week ago

Dlurak commented 1 week ago

The telephone number and email address already have a custom renderer. But the contact:* key has way more to offer. It would be beneficial if more had a custom renderer to link directly to the social media account of the poi.
These for example don't have a custom renderer at this moment:

zbycz commented 1 week ago

Well, i always thought of the FeaturedTags as quick summary of the most important info. I would like to keep it 3-4 items long.

For this usecase I think the iD scheme properties are better, what do you say? You can see it eg. here as username or here as URL.

What would make sense in my opinion are two enhacements: 1) to make the username clickable in the Properties section if it is not a URL. 2) make contact:facebook universal: true (docs) which would allow osmapp to show it on any feature which has them. Eg. here the field is for this reason included only in the Show more section. 3) create other fields like instagram etc. -- to be submitted in the https://github.com/openstreetmap/id-tagging-schema -- good news is that osmapp always downloads the newest release version, so no need to bump dependencies, just wait for their release.

btw, you can (newly) find such features by entering eg. overpass:nwr["contact:facebook"]["contact:instagram"] in the Search Box.