diff --git a/WebContent/OSRM.Localization.js b/WebContent/OSRM.Localization.js
index 1fa979c9c..003dd9ab9 100644
--- a/WebContent/OSRM.Localization.js
+++ b/WebContent/OSRM.Localization.js
@@ -82,8 +82,8 @@ OSRM.Localization["en"] = {
//gui
"GUI_START": "Start",
"GUI_END": "End",
-"GUI_RESET": "Reset",
-"GUI_SEARCH": "Search",
+"GUI_RESET": " Reset ",
+"GUI_SEARCH": " Search ",
"GUI_ROUTE": "Route",
"GUI_REVERSE": "Reverse",
"GUI_OPTIONS": "Options",
diff --git a/WebContent/geocoder.js b/WebContent/geocoder.js
index 835b4ba67..4e2135645 100644
--- a/WebContent/geocoder.js
+++ b/WebContent/geocoder.js
@@ -37,6 +37,11 @@ function updateLocation(marker_id) {
// process input request and call geocoder if needed
function callGeocoder(marker_id, query) {
+ if (marker_id == OSRM.SOURCE_MARKER_LABEL && my_markers.route[0] && my_markers.route[0].label == OSRM.SOURCE_MARKER_LABEL && my_markers.route[0].dirty == false)
+ return;
+ if (marker_id == OSRM.TARGET_MARKER_LABEL && my_markers.route[my_markers.route.length-1] && my_markers.route[my_markers.route.length-1].label == OSRM.TARGET_MARKER_LABEL && my_markers.route[my_markers.route.length-1].dirty == false)
+ return;
+
//geo coordinates given -> go directly to drawing results
if(query.match(/^\s*[-+]?[0-9]*\.?[0-9]+\s*[,;]\s*[-+]?[0-9]*\.?[0-9]+\s*$/)){
var coord = query.split(/[,;]/);
diff --git a/WebContent/main.html b/WebContent/main.html
index a5d3a48ed..b36c56cb3 100644
--- a/WebContent/main.html
+++ b/WebContent/main.html
@@ -88,16 +88,18 @@ or see http://www.gnu.org/licenses/agpl.txt.
@@ -106,8 +108,11 @@ or see http://www.gnu.org/licenses/agpl.txt.
diff --git a/WebContent/main.js b/WebContent/main.js
index 1ca6fdead..1ac7f3101 100644
--- a/WebContent/main.js
+++ b/WebContent/main.js
@@ -67,7 +67,7 @@ function prefetchIcons() {
// init localization
function initLocale() {
- document.getElementById("gui-route").innerHTML = OSRM.loc("GUI_ROUTE");
+// document.getElementById("gui-route").innerHTML = OSRM.loc("GUI_ROUTE");
document.getElementById("gui-reset").innerHTML = OSRM.loc("GUI_RESET");
document.getElementById("gui-reverse").innerHTML = OSRM.loc("GUI_REVERSE");
document.getElementById("gui-option-highlight-nonames-label").innerHTML = OSRM.loc("GUI_HIGHLIGHT_UNNAMED_ROADS");