render background source labels as text, not html

This commit is contained in:
Martin Raifer
2022-06-23 10:52:13 +02:00
parent 9576e95d83
commit 422861dbc7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ export function uiPanelBackground(context) {
list
.append('li')
.html(_currSourceName);
.text(_currSourceName);
_metadataKeys.forEach(function(k) {
// DigitalGlobe vintage is available in raster layers for now.
+2 -2
View File
@@ -202,7 +202,7 @@ export function uiSectionBackgroundList(context) {
label
.append('span')
.html(function(d) { return d.label(); });
.text(function(d) { return d.label(); });
enter.filter(function(d) { return d.id === 'custom'; })
.append('button')
@@ -225,7 +225,7 @@ export function uiSectionBackgroundList(context) {
.placement((localizer.textDirection() === 'rtl') ? 'right' : 'left')
)
.append('span')
.html('★');
.text('');
layerList
.call(updateLayerSelections);