diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2012-11-13 22:01:39 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2012-11-13 22:01:39 +0100 |
| commit | 40d7d3b373a392b68b43524a4049216b1223c81c (patch) | |
| tree | c94245ae5f85c82018463628918ebfa3ce19fbb8 /example_project | |
| parent | 1def4a4322e699cedd602143586eefa42edfabf8 (diff) | |
| download | Chimère-40d7d3b373a392b68b43524a4049216b1223c81c.tar.bz2 Chimère-40d7d3b373a392b68b43524a4049216b1223c81c.zip | |
Fail properly when the routing engine don't find a route - JS: manage routing messages
Diffstat (limited to 'example_project')
| -rw-r--r-- | example_project/settings.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
