From 40d7d3b373a392b68b43524a4049216b1223c81c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 13 Nov 2012 22:01:39 +0100 Subject: Fail properly when the routing engine don't find a route - JS: manage routing messages --- example_project/settings.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'example_project') diff --git a/example_project/settings.py b/example_project/settings.py index 45c7af2..00e2b8c 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -95,6 +95,10 @@ CHIMERE_ROUTING_ENGINE = { 'DB_PATH': '/var/local/routino/', } +CHIMERE_ROUTING_FAIL_MESSAGE = _(u"Routing engine has failed to find an " + u"appropriate route. Start point or end point may be too far from " + u"an existing path.") + NOMINATIM_URL = 'http://nominatim.openstreetmap.org/search' # thumbnail -- cgit v1.2.3