Fixed icons

This commit is contained in:
Pieter Vander Vennet 2020-07-29 21:39:03 +02:00
parent 4a85fa82c3
commit 0e63eb5a52
7 changed files with 2 additions and 10 deletions

View file

@ -30,7 +30,6 @@ export default class BikeCafes extends LayerDefinition {
this.presets = [ this.presets = [
{ {
title: Translations.t.cyclofix.cafe.title, title: Translations.t.cyclofix.cafe.title,
icon: "/assets/bike/cafe.svg",
tags : [ tags : [
new Tag("amenity", "pub"), new Tag("amenity", "pub"),
new Tag("pub", "cycling"), new Tag("pub", "cycling"),

View file

@ -21,7 +21,6 @@ export default class BikeParkings extends LayerDefinition {
this.overpassFilter = new Tag("amenity", "bicycle_parking"); this.overpassFilter = new Tag("amenity", "bicycle_parking");
this.presets = [{ this.presets = [{
title: Translations.t.cyclofix.parking.title, title: Translations.t.cyclofix.parking.title,
icon: "/assets/bike/parking.svg",
tags: [ tags: [
new Tag("amenity", "bicycle_parking"), new Tag("amenity", "bicycle_parking"),
] ]

View file

@ -27,7 +27,6 @@ export default class BikeShops extends LayerDefinition {
this.overpassFilter = new Tag("shop", "bicycle"); this.overpassFilter = new Tag("shop", "bicycle");
this.presets = [{ this.presets = [{
title: Translations.t.cyclofix.shop.title, title: Translations.t.cyclofix.shop.title,
icon: "/assets/bike/repair_shop.svg",
tags: [ tags: [
new Tag("shop", "bicycle"), new Tag("shop", "bicycle"),
] ]

View file

@ -37,19 +37,16 @@ export default class BikeStations extends LayerDefinition {
{ {
title: tr.titlePump, title: tr.titlePump,
description: tr.services.pump, description: tr.services.pump,
icon: "/assets/bike/pump.svg",
tags: [this.repairStation, this.pump, this.notools] tags: [this.repairStation, this.pump, this.notools]
}, },
{ {
title: tr.titleRepair, title: tr.titleRepair,
description: tr.services.tools, description: tr.services.tools,
icon: "/assets/bike/repair_station.svg",
tags: [this.repairStation, this.tools, this.nopump] tags: [this.repairStation, this.tools, this.nopump]
}, },
{ {
title: tr.titlePumpAndRepair, title: tr.titlePumpAndRepair,
description: tr.services.both, description: tr.services.both,
icon: "/assets/bike/repair_station_pump.svg",
tags: [this.repairStation, this.tools, this.nopump] tags: [this.repairStation, this.tools, this.nopump]
}, },

View file

@ -21,7 +21,6 @@ export class Birdhide extends LayerDefinition {
presets: [ presets: [
{ {
title: "Vogelkijkplaats", title: "Vogelkijkplaats",
icon: "/assets/nature/birdhide.svg",
tags: [Birdhide.birdhide] tags: [Birdhide.birdhide]
} }
], ],

View file

@ -23,7 +23,6 @@ export class DrinkingWater extends LayerDefinition {
this.presets = [{ this.presets = [{
title: Translations.t.cyclofix.drinking_water.title, title: Translations.t.cyclofix.drinking_water.title,
icon: "/assets/bike/drinking_water.svg",
tags: [new Tag("amenity", "drinking_water")] tags: [new Tag("amenity", "drinking_water")]
}]; }];
this.maxAllowedOverlapPercentage = 10; this.maxAllowedOverlapPercentage = 10;

View file

@ -426,8 +426,8 @@ export default class Translations {
} }
}, },
cafe: { cafe: {
name: new T({en: "bike cafe", nl: "fietscafé", fr: "TODO: fr"}), name: new T({en: "Bike cafe", nl: "Fietscafé", fr: "TODO: fr"}),
title: new T({en: "Bike cafe", nl: "fietscafé", fr: "TODO: fr"}), title: new T({en: "Bike cafe", nl: "Fietscafé", fr: "TODO: fr"}),
qName: { qName: {
question: new T({en: "What is the name of this bike cafe?", nl: "Wat is de naam van dit fietscafé?", fr: "TODO: fr"}), question: new T({en: "What is the name of this bike cafe?", nl: "Wat is de naam van dit fietscafé?", fr: "TODO: fr"}),
render: new T({en: "This bike cafe is called {name}", nl: "Dit fietscafé heet <b>{name}</b>", fr: "TODO: fr"}), render: new T({en: "This bike cafe is called {name}", nl: "Dit fietscafé heet <b>{name}</b>", fr: "TODO: fr"}),