mapcomplete/Customizations/Layers/BikeParkings.ts

18 lines
501 B
TypeScript
Raw Normal View History

import {LayerDefinition} from "../LayerDefinition";
import {Tag} from "../../Logic/Tags";
import ParkingCapacityCargo from "../Questions/bike/ParkingCapacityCargo";
2020-07-16 13:56:10 +00:00
export default class BikeParkings extends LayerDefinition {
private readonly accessCargoDesignated = new Tag();
constructor() {
super(undefined);
this.elementsToShow = [
new ParkingCapacityCargo().OnlyShowIf(this.accessCargoDesignated)
//new ParkingOperator(),
];
}
2020-07-16 13:56:10 +00:00
}