first work on custom aprs icons

This commit is contained in:
Jakob Ketterl
2019-09-18 18:50:48 +02:00
parent c6c4012a36
commit 3e8e0c9224
3 changed files with 42 additions and 14 deletions

View File

@ -92,15 +92,12 @@ class Map(object):
class LatLngLocation(Location):
def __init__(self, lat: float, lon: float, comment=None):
def __init__(self, lat: float, lon: float):
self.lat = lat
self.lon = lon
self.comment = comment
def __dict__(self):
res = {"type": "latlon", "lat": self.lat, "lon": self.lon}
if self.comment is not None:
res["comment"] = self.comment
return res