" +
-
+
"
" +
"
("
Naar de kaart
"),
+ new VariableUiElement(new UIEventSource
("Return to the map
"),
() => {
document.getElementById("to-the-map").onclick = function () {
uielement.setData(undefined);
diff --git a/UI/SaveButton.ts b/UI/SaveButton.ts
index 60d8bda..23065ff 100644
--- a/UI/SaveButton.ts
+++ b/UI/SaveButton.ts
@@ -19,7 +19,7 @@ export class SaveButton extends UIElement {
) {
return "Opslaan"
}
- return "Opslaan";
+ return "Save";
}
}
\ No newline at end of file
diff --git a/UI/SearchAndGo.ts b/UI/SearchAndGo.ts
index 918bdb3..679764e 100644
--- a/UI/SearchAndGo.ts
+++ b/UI/SearchAndGo.ts
@@ -9,7 +9,7 @@ import {VariableUiElement} from "./Base/VariableUIElement";
export class SearchAndGo extends UIElement {
- private _placeholder = new UIEventSource("Zoek naar een locatie...")
+ private _placeholder = new UIEventSource("Search a location...")
private _searchField = new TextField({
placeholder: new VariableUiElement(this._placeholder),
fromString: str => str,
@@ -41,7 +41,7 @@ export class SearchAndGo extends UIElement {
private RunSearch() {
const searchString = this._searchField.GetValue().data;
this._searchField.Clear();
- this._placeholder.setData("Bezig met zoeken...");
+ this._placeholder.setData("Searching...");
const self = this;
Geocoding.Search(searchString, this._map, (result) => {
@@ -56,10 +56,10 @@ export class SearchAndGo extends UIElement {
[bb[1], bb[3]]
]
self._map.map.fitBounds(bounds);
- this._placeholder.setData("Zoek naar een locatie...");
+ this._placeholder.setData("Search a location...");
},
() => {
- this._placeholder.setData("Niets gevonden: er ging iets mis");
+ this._placeholder.setData("Something went wrong. Try again.");
});
}
diff --git a/UI/SimpleAddUI.ts b/UI/SimpleAddUI.ts
index 956569b..2aa3e0e 100644
--- a/UI/SimpleAddUI.ts
+++ b/UI/SimpleAddUI.ts
@@ -42,7 +42,7 @@ export class SimpleAddUI extends UIElement {
//