Use osm.org for routing instead of OSRM demo site (fix #219)
This commit is contained in:
parent
f6f2d8dca9
commit
6960299d21
1 changed files with 3 additions and 3 deletions
|
@ -128,9 +128,9 @@ MIDDLEWARE_CLASSES = (
|
||||||
'django.middleware.http.ConditionalGetMiddleware',
|
'django.middleware.http.ConditionalGetMiddleware',
|
||||||
)
|
)
|
||||||
|
|
||||||
#==============================================================================
|
# =============================================================================
|
||||||
# Auth / security
|
# Auth / security
|
||||||
#==============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
AUTHENTICATION_BACKENDS += (
|
AUTHENTICATION_BACKENDS += (
|
||||||
)
|
)
|
||||||
|
@ -140,7 +140,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}&hl={locale}',
|
'routing': 'http://www.openstreetmap.org/directions?engine=osrm_car&route={lat},{lng}&locale={locale}#map={zoom}/{lat}/{lng}', # noqa
|
||||||
'ajax_proxy': '/ajax-proxy/?url={url}'
|
'ajax_proxy': '/ajax-proxy/?url={url}'
|
||||||
}
|
}
|
||||||
SITE_URL = "http://umap.org"
|
SITE_URL = "http://umap.org"
|
||||||
|
|
Loading…
Reference in a new issue