add view for external tile servers do load cache package
This commit is contained in:
parent
83de101969
commit
1fdcca4ae1
3 changed files with 34 additions and 3 deletions
|
@ -1,9 +1,10 @@
|
|||
from django.conf.urls import url
|
||||
|
||||
from c3nav.mapdata.views import history, tile, tile_access
|
||||
from c3nav.mapdata.views import cache_package, history, tile, tile_access
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^(?P<level>\d+)/(?P<zoom>\d+)/(?P<x>-?\d+)/(?P<y>-?\d+).png$', tile, name='mapdata.tile'),
|
||||
url(r'^history/(?P<level>\d+)/(?P<mode>base|composite).(?P<format>png|data)$', history, name='mapdata.history'),
|
||||
url(r'^cache/package(?P<filetype>\.tar|\.tar\.gz|\.tar\.xz)$', cache_package, name='mapdata.cache_package'),
|
||||
url(r'^tile_access$', tile_access, name='mapdata.tile_access'),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue