new altitude modeling

This commit is contained in:
Laura Klünder 2017-08-05 11:56:29 +02:00
parent a6e00fa015
commit 6930e1bb7c
8 changed files with 102 additions and 9 deletions

View file

@ -173,6 +173,7 @@ class EditorViewSet(ViewSet):
space.obstacles.all(),
space.lineobstacles.all(),
space.columns.all(),
space.altitudemarkers.all(),
space.pois.filter(POI.q_for_request(request)).prefetch_related('groups'),
other_spaces_upper,
graphedges,
@ -204,6 +205,7 @@ class EditorViewSet(ViewSet):
'graphnode': '#00BB00',
'graphnode__space_transfer': '#008800',
'graphedge': '#00CC00',
'altitudemarker': '#ffff00',
})
@list_route(methods=['get'])