Send locale to routing

This commit is contained in:
Yohan Boniface 2014-01-09 15:59:19 +01:00
parent 7e3fb30dfb
commit c8798abb4e

View file

@ -145,7 +145,7 @@ AUTHENTICATION_BACKENDS += (
#============================================================================== #==============================================================================
LEAFLET_STORAGE_ALLOW_ANONYMOUS = False LEAFLET_STORAGE_ALLOW_ANONYMOUS = False
LEAFLET_STORAGE_EXTRA_URLS = { LEAFLET_STORAGE_EXTRA_URLS = {
'routing': 'http://map.project-osrm.org/?loc={lat},{lng}' 'routing': 'http://map.project-osrm.org/?loc={lat},{lng}&hl={locale}'
} }
SITE_URL = "http://umap.org" SITE_URL = "http://umap.org"
UMAP_DEMO_SITE = False UMAP_DEMO_SITE = False