show graph nodes in space geometries
This commit is contained in:
parent
20e22ac075
commit
ef7af700dc
1 changed files with 2 additions and 0 deletions
|
@ -149,6 +149,7 @@ class EditorViewSet(ViewSet):
|
||||||
space.lineobstacles.all(),
|
space.lineobstacles.all(),
|
||||||
space.columns.all(),
|
space.columns.all(),
|
||||||
space.pois.filter(POI.q_for_request(request)).prefetch_related('groups'),
|
space.pois.filter(POI.q_for_request(request)).prefetch_related('groups'),
|
||||||
|
space.graphnodes.all(),
|
||||||
other_spaces_upper,
|
other_spaces_upper,
|
||||||
)
|
)
|
||||||
return Response(sum([self._get_geojsons(obj) for obj in results], ()))
|
return Response(sum([self._get_geojsons(obj) for obj in results], ()))
|
||||||
|
@ -174,6 +175,7 @@ class EditorViewSet(ViewSet):
|
||||||
'column': '#888888',
|
'column': '#888888',
|
||||||
'poi': '#4488cc',
|
'poi': '#4488cc',
|
||||||
'shadow': '#000000',
|
'shadow': '#000000',
|
||||||
|
'graphnode': '#00bb00',
|
||||||
})
|
})
|
||||||
|
|
||||||
@list_route(methods=['get'])
|
@list_route(methods=['get'])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue