2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 11:57:12 +00:00

kml file output for google earth etc

This commit is contained in:
Martin Green
2023-05-01 00:01:41 +01:00
parent 2ee63a9804
commit 896af43994
4 changed files with 89 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ from troggle.core.views import statistics, survex
from troggle.core.views.auth import expologin, expologout
from troggle.core.views.caves import (cave3d, caveEntrance, caveindex,
cavepage, caveQMs, edit_cave, cave_debug,
edit_entrance, get_entrances, qm)
edit_entrance, get_entrances, qm, expo_kml)
from troggle.core.views.drawings import dwgallfiles, dwgfilesingle
from troggle.core.views.editor_helpers import image_selector, new_image_form
from troggle.core.views.expo import (editexpopage, expofiles_redirect,
@@ -230,6 +230,8 @@ trogglepatterns = [
# Helpers to edit HTML
re_path(r'^image_selector/(?P<path>.*)', image_selector, name = 'image_selector'),
re_path(r'^new_image_form/(?P<path>.*)', new_image_form, name = 'new_image_form'),
re_path(r'^expo.kml', expo_kml, name = 'expo.kml'),
# Final catchall which also serves expoweb handbook pages and imagestiny
re_path(r'^(.*)$', expopage, name="expopage"), # CATCHALL assumed relative to EXPOWEB