("",
+ options,
+ value)
+
} else if (options.type === "tags") {
textField = ValidatedTextField.TagTextField(value.map(CustomLayoutFromJSON.TagsFromJson, [], tags => {
if (tags === undefined) {
diff --git a/UI/ImageUploadFlow.ts b/UI/ImageUploadFlow.ts
index 1852381..e75d82e 100644
--- a/UI/ImageUploadFlow.ts
+++ b/UI/ImageUploadFlow.ts
@@ -58,7 +58,7 @@ export class ImageUploadFlow extends UIElement {
}
if (!State.state.osmConnection.userDetails.data.loggedIn) {
- return `${t.pleaseLogin.Render()}
`;
+ return t.pleaseLogin.Render();
}
let currentState: UIElement[] = [];
@@ -78,7 +78,7 @@ export class ImageUploadFlow extends UIElement {
let currentStateHtml = "";
if (currentState.length > 0) {
- currentStateHtml = new VerticalCombine(currentState).Render();
+ currentStateHtml = new Combine(currentState).Render();
if (!this._allDone.data) {
currentStateHtml = "" +
currentStateHtml +
diff --git a/UI/ShareScreen.ts b/UI/ShareScreen.ts
index ebaacc2..7a5a036 100644
--- a/UI/ShareScreen.ts
+++ b/UI/ShareScreen.ts
@@ -93,12 +93,12 @@ export class ShareScreen extends UIElement {
const switches = [{urlName: "fs-userbadge", human: "Enable the login-button"},
- {urlName: "fs-search", human: "Enable search bar"},
+ {urlName: "fs-search", human: "Enable the search bar"},
{urlName: "fs-welcome-message", human: "Enable the welcome message"},
- {urlName: "fs-layers", human: "Enable layer control"},
+ {urlName: "fs-layers", human: "Enable thelayer control"},
+ {urlName: "layer-control-toggle", human: "Start with the layer control expanded", reverse:true},
{urlName: "fs-add-new", human: "Enable the 'add new POI' button"},
{urlName: "fs-geolocation", human: "Enable the 'geolocate-me' button"},
- {urlName: "layer-control-toggle", human: "Start with the layer control expanded", reverse:true}
]
diff --git a/assets/themes/cyclestreets/cyclestreets.json b/assets/themes/cyclestreets/cyclestreets.json
new file mode 100644
index 0000000..859f84d
--- /dev/null
+++ b/assets/themes/cyclestreets/cyclestreets.json
@@ -0,0 +1,32 @@
+{
+ "layers": [
+ {
+ "id": "Fietsstraat",
+ "title": {
+ "render": "{name}",
+ "key": "name"
+ },
+ "icon": {
+ "key": ""
+ },
+ "color": {
+ "key": "",
+ "render": "#0000ff"
+ },
+ "description": "Een fietsstraat is een straat",
+ "minzoom": "13",
+ "presets": [],
+ "tagRenderings": [],
+ "overpassTags": "cyclestreet=yes"
+ }
+ ],
+ "language": "nl",
+ "startLat": "51.2095",
+ "startZoom": "14",
+ "maintainer": "Not logged in",
+ "name": "Fietsstraten",
+ "title": "Fietsstraten",
+ "startLon": "3.2228",
+ "icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Belgian_road_sign_F111.svg/400px-Belgian_road_sign_F111.svg.png",
+ "description": "Een fietsstraat is een straat waar automobilisten geen fietsers mogen inhalen en waar een maximumsnelheid van 30km/h geldt. "
+}
\ No newline at end of file
diff --git a/index.css b/index.css
index ad63471..80d05f7 100644
--- a/index.css
+++ b/index.css
@@ -1155,8 +1155,10 @@ form {
.tab-single-header img {
height: 3em;
- width: 3em;
+ max-width: 3em;
padding: 0.5em;
+ display:block;
+ margin:auto;
}
@@ -1181,6 +1183,7 @@ form {
z-index: 5001;
box-shadow: 0 0 10px black;
border: 1px solid white;
+ min-width: 4em;
}
.tab-non-active {