Open grischard opened 4 years ago
The GPS traces layer's attribution uses a hack to display a legend:
"html": "<span style='display: inline-block; padding: 0 8px; background-color: rgba(0,0,0,0.5);'><span style='color: #eee;'>GPS Direction:</span> <span style='font-size: 15px; padding-left: 2px; font-weight: bold;'> <span style='color: #0ee;'>←</span> <span style='color: #96f;'>↓</span> <span style='color: #6e0;'>↑</span> <span style='color: #f63;'>→</span> </span></span> \u00a9 <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap contributors</a>."
It's the only layer that uses the 'html' attribution. JOSM doesn't have html attributions:
https://josm.openstreetmap.de/wiki/Maps/Worldwide#OpenStreetMapGPSTraces
We should instead ask iD to hardcode this if the layer id is "osm-gps" or the url contains "gps-tile.openstreetmap.org" or something like that.
Another hack could be to use an icon? It might get shrunk into unreadability.
The GPS traces layer's attribution uses a hack to display a legend:
It's the only layer that uses the 'html' attribution. JOSM doesn't have html attributions:
https://josm.openstreetmap.de/wiki/Maps/Worldwide#OpenStreetMapGPSTraces
We should instead ask iD to hardcode this if the layer id is "osm-gps" or the url contains "gps-tile.openstreetmap.org" or something like that.
Another hack could be to use an icon? It might get shrunk into unreadability.