reviving the map editor (slowly), so that it interacts with the new Django REST API