diff --git a/Customizations/Layers/BikeShops.ts b/Customizations/Layers/BikeShops.ts
index 0cec27fe0a..6fa764ba50 100644
--- a/Customizations/Layers/BikeShops.ts
+++ b/Customizations/Layers/BikeShops.ts
@@ -72,7 +72,7 @@ export default class BikeShops extends LayerDefinition {
return {
color: "#00bb00",
icon: L.icon({
- iconUrl: self.icon,
+ iconUrl: icon,
iconSize: [50, 50],
iconAnchor: [25, 50]
})
diff --git a/UI/LayerSelection.ts b/UI/LayerSelection.ts
index 37049f2249..299392c13e 100644
--- a/UI/LayerSelection.ts
+++ b/UI/LayerSelection.ts
@@ -10,19 +10,20 @@ export class LayerSelection extends UIElement{
constructor(layers: FilteredLayer[]) {
super(undefined);
this._checkboxes = [];
+
for (const layer of layers) {
this._checkboxes.push(new CheckBox(
new Combine([
``,
- `
`,
+ `
`,
layer.layerDef.name]),
new Combine([
``,
- `
`,
+ `
`,
layer.layerDef.name]),
layer.isDisplayed));
}