This object is in archive! 

HTML not displayed in map's copyright label

Lopus shared this problem 2 years ago
Solved

Dear Locus team,

in my providers.xml, I put some HTML in the <attribution> part:

<attribution><![CDATA[<b>© CyclOSM</b> / <span style='color:green;'>OpenStreetMap contributors</span><br /><a href='https://www.cyclosm.org/legend.html'>Legende</a>]]></attribution>

When going to the details section of a custom online map, the HTML is displayed correctly and the links are working (I use this to have quick links to map keys etc.):

468128ab67c0f7bd86e4510776515947


Though when clicking the copyright symbol in the top right corner of the map screen, the HTML is not displayed correctly:

ccc24da2daeca446424d8c43289345ab


The part

<b>Karte</b><br />
is a Locus internal thing as it is also displayed when clicking the copyright symbol of the LoMap.


Would it be possible to allow/display HTML for the copyright label? This would be a great way to link directly to external keys etc. without the need to click into the details section of a map.


Thanks a lot!

Best regards

Vincent

Replies (0)

Replies have been locked on this page!