From 5e2474982603ec2d9275c9d55ffa6110494a4c6a Mon Sep 17 00:00:00 2001 From: DennisSchiefer Date: Thu, 5 Jul 2012 14:00:47 +0100 Subject: [PATCH] clarified comments --- WebContent/gui/OSRM.Notifications.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/WebContent/gui/OSRM.Notifications.js b/WebContent/gui/OSRM.Notifications.js index e9098651d..0b26d65dd 100644 --- a/WebContent/gui/OSRM.Notifications.js +++ b/WebContent/gui/OSRM.Notifications.js @@ -23,34 +23,34 @@ OSRM.GUI.extend( { // tooltips tooltips: { + // triggered in OSRM.Localization.setLanguageWrapper localization: - { timeout: 4000, + { timeout: 1800000, // 30min header: "[Tooltip] Localization", body: "You can use the pulldown menu in the upper left corner to select your favorite language. " + "

" + "Don't despair if you cannot find your language of choice. " + "If you want, you can help to provide additional translations! " + "Visit here for more information." - // triggered by OSRM.Localization.setLanguageWrapper - }, + }, + // triggered in OSRM.Map.click clicking: - { timeout: 6000, + { timeout: 60000, // 1min header: "[Tooltip] Clicking to set markers", body: "You can click on the map with the left mouse button to set a source marker (green) or a target marker (red), " + "if the source marker already exists. " + "The address of the selected location will be displayed in the boxes to the left. " + "

" + "You can delete a marker by clicking on it again with the left mouse button." - // triggered by OSRM.Map.click }, + // triggered in OSRM.Routing.getRoute_Dragging dragging: - { timeout: 8000, + { timeout: 120000, // 2min header: "[Tooltip] Dragging markers", body: "You can drag a marker by clicking on it with the left mouse button and holding the button pressed. " + "Then you can move the marker around the map and the route will be updated instantaneously. " + "

" + "You can even create additional markers by dragging them off of the main route! " - // triggered by OSRM.Routing.getRoute_Dragging } },