After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783225 - Show toilets tag
Show toilets tag
Status: RESOLVED FIXED
Product: gnome-maps
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2017-05-30 01:45 UTC by Robert Ancell
Modified: 2017-05-31 21:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add tag toilets to map bubbles (3.31 KB, patch)
2017-05-30 01:45 UTC, Robert Ancell
none Details | Review
osmEditDialog: Add edit/add of toilets (865 bytes, patch)
2017-05-30 01:45 UTC, Robert Ancell
committed Details | Review
Add tag toilets to map bubbles (3.09 KB, patch)
2017-05-30 23:29 UTC, Robert Ancell
committed Details | Review

Description Robert Ancell 2017-05-30 01:45:06 UTC
OpenStreetMap has a 'toilets' tag [1] which is often used with shops to indicated if public toilets are available.

[1] https://wiki.openstreetmap.org/wiki/Key:toilets
Comment 1 Robert Ancell 2017-05-30 01:45:32 UTC
Created attachment 352839 [details] [review]
Add tag toilets to map bubbles
Comment 2 Robert Ancell 2017-05-30 01:45:51 UTC
Created attachment 352840 [details] [review]
osmEditDialog: Add edit/add of toilets
Comment 3 Robert Ancell 2017-05-30 01:46:13 UTC
These patches follow on from the religion tag patches (bug 783225).
Comment 4 Marcus Lundblad 2017-05-30 20:11:27 UTC
Review of attachment 352839 [details] [review]:

::: src/translations.js
@@ +387,3 @@
 }
+
+function translateToilets(string) {

I think this should probably be named something like "translateYesNo", as it's not really toilet-specific ☺
Comment 5 Marcus Lundblad 2017-05-30 20:12:06 UTC
Review of attachment 352840 [details] [review]:

LGTM
Comment 6 Marcus Lundblad 2017-05-30 20:14:21 UTC
Actually, we might want to add a boolean edit widget for "yes/no" things like this, i.e. rendered as checkbox. The tricky part is that the OSM tag can contain arbitrary data (which is kinda handle by the current combo boxes by showing an empty value and letting the user set just the pre-defined values).
Comment 7 Marcus Lundblad 2017-05-30 20:15:14 UTC
Thanks for the patches, btw!
Comment 8 Marcus Lundblad 2017-05-30 20:16:42 UTC
And I think ultimately we would like to redesign the map bubbles to use less verbose text labels, showing i.e. a toilet symbol for things like this and for accessability information.
Comment 9 Robert Ancell 2017-05-30 23:25:52 UTC
+1 for showing icons for toilets etc.
Comment 10 Robert Ancell 2017-05-30 23:29:47 UTC
Created attachment 352907 [details] [review]
Add tag toilets to map bubbles
Comment 11 Marcus Lundblad 2017-05-31 21:31:47 UTC
Review of attachment 352907 [details] [review]:

LGTM
Comment 12 Marcus Lundblad 2017-05-31 21:33:03 UTC
Attachment 352840 [details] pushed as f89256a - osmEditDialog: Add edit/add of toilets
Attachment 352907 [details] pushed as a7116e2 - Add tag toilets to map bubbles