Enable ghost bikes, fix assets

This commit is contained in:
Pieter Vander Vennet 2020-07-16 16:48:43 +02:00
parent 67ceb04148
commit ce4775a77d
4 changed files with 13 additions and 12 deletions

View file

@ -58,7 +58,7 @@ export class GhostBike extends LayerDefinition {
return {
color: "#000000",
icon: L.icon({
iconUrl: 'assets/ghost_bike.svg',
iconUrl: 'assets/bike/ghost.svg',
iconSize: [40, 40],
iconAnchor: [20, 20],
})

View file

@ -9,7 +9,7 @@ export default class Cyclofix extends Layout {
super(
"pomp",
"Cyclofix bicycle infrastructure",
[new BikeParkings(), new BikeServices()],
[new GhostBike(), new BikeServices(), new BikeParkings()],
16,
50.8465573,
4.3516970,
@ -17,7 +17,7 @@ export default class Cyclofix extends Layout {
"<h3>Cyclofix bicycle infrastructure</h3>\n" +
"\n" +
"<p><b>EN&gt;</b> On this map we want to collect data about the whereabouts of bicycle pumps and public racks in Brussels." +
"<p><b>EN&gt;</b> On this map we want to collect data about the whereabouts of bicycle pumps and public racks in Brussels." +
"As a result, cyclists will be able to quickly find the nearest infrastructure for their needs.</p>" +
"<p><b>NL&gt;</b> Op deze kaart willen we gegevens verzamelen over de locatie van fietspompen en openbare stelplaatsen in Brussel." +
"Hierdoor kunnen fietsers snel de dichtstbijzijnde infrastructuur vinden die voldoet aan hun behoeften.</p>" +