forked from MapComplete/MapComplete
Fix deployment
This commit is contained in:
parent
ce4cc244dc
commit
4bfe078836
3 changed files with 7 additions and 9 deletions
|
@ -1,11 +1,10 @@
|
||||||
import { LayerDefinition } from "../LayerDefinition";
|
import {LayerDefinition} from "../LayerDefinition";
|
||||||
import { And, Or, Tag } from "../../Logic/TagsFilter";
|
import {And, Or, Tag} from "../../Logic/TagsFilter";
|
||||||
import { OperatorTag } from "../Questions/OperatorTag";
|
import {OperatorTag} from "../Questions/OperatorTag";
|
||||||
import * as L from "leaflet";
|
import * as L from "leaflet";
|
||||||
import FixedText from "../Questions/FixedText";
|
import FixedText from "../Questions/FixedText";
|
||||||
import { BikeParkingType } from "../Questions/BikeParkingType";
|
import {TagRenderingOptions} from "../TagRendering";
|
||||||
import { TagRenderingOptions } from "../TagRendering";
|
import {ImageCarouselWithUploadConstructor} from "../../UI/Image/ImageCarouselWithUpload";
|
||||||
import { ImageCarouselWithUploadConstructor } from "../../UI/Image/ImageCarouselWithUpload";
|
|
||||||
|
|
||||||
export class DrinkingWaterLayer extends LayerDefinition {
|
export class DrinkingWaterLayer extends LayerDefinition {
|
||||||
|
|
||||||
|
@ -31,7 +30,6 @@ export class DrinkingWaterLayer extends LayerDefinition {
|
||||||
this.title = new FixedText("Drinking water");
|
this.title = new FixedText("Drinking water");
|
||||||
this.elementsToShow = [
|
this.elementsToShow = [
|
||||||
new OperatorTag(),
|
new OperatorTag(),
|
||||||
new BikeParkingType()
|
|
||||||
];
|
];
|
||||||
this.elementsToShow = [new ImageCarouselWithUploadConstructor(), new TagRenderingOptions({
|
this.elementsToShow = [new ImageCarouselWithUploadConstructor(), new TagRenderingOptions({
|
||||||
question: "How easy is it to fill water bottles?",
|
question: "How easy is it to fill water bottles?",
|
||||||
|
|
|
@ -8,7 +8,7 @@ export class WalkByBrussels extends Layout {
|
||||||
constructor() {
|
constructor() {
|
||||||
super("walkbybrussels",
|
super("walkbybrussels",
|
||||||
"Drinking Water Spots",
|
"Drinking Water Spots",
|
||||||
[new DrinkingWaterLayer(), new BikeParkings(), new Park(), new NatureReserves()],
|
[new DrinkingWaterLayer(), new Park(), new NatureReserves()],
|
||||||
10,
|
10,
|
||||||
50.8435,
|
50.8435,
|
||||||
4.3688,
|
4.3688,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"description": "A small website to edit OSM easily",
|
"description": "A small website to edit OSM easily",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "parcel index.html land.html test.html assets/test.json assets/**/* UI/* Logic/* vendor/*",
|
"start": "parcel index.html land.html test.html assets/test.json assets/**/* UI/* Logic/** vendor/*",
|
||||||
"build": "rm -rf dist/ && parcel build --public-url ./ index.html land.html assets/* assets/*/*",
|
"build": "rm -rf dist/ && parcel build --public-url ./ index.html land.html assets/* assets/*/*",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue