first work on custom aprs icons
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user