From 7e3fb30dfbc7279ddc50bb85a934bf0e263389dd Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 9 Jan 2014 15:20:57 +0100 Subject: [PATCH] Add URL for external routing service --- umap/settings/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/umap/settings/base.py b/umap/settings/base.py index e263f471..f4524793 100644 --- a/umap/settings/base.py +++ b/umap/settings/base.py @@ -144,6 +144,9 @@ AUTHENTICATION_BACKENDS += ( # Miscellaneous project settings #============================================================================== LEAFLET_STORAGE_ALLOW_ANONYMOUS = False +LEAFLET_STORAGE_EXTRA_URLS = { + 'routing': 'http://map.project-osrm.org/?loc={lat},{lng}' +} SITE_URL = "http://umap.org" UMAP_DEMO_SITE = False MAP_SHORT_URL_NAME = "umap_short_url"