select location from map

This commit is contained in:
Laura Klünder 2016-12-20 22:20:42 +01:00
parent d9632dc0c4
commit 0b44acc8b0
7 changed files with 163 additions and 31 deletions

View file

@ -292,7 +292,7 @@ class PointLocation(Location):
def subtitle(self) -> str:
return 'Coordinates'
def to_location_json(self):
def to_json(self):
result = super().to_location_json()
result['level'] = self.level.name
result['x'] = self.x