NMEA2000 remote keyboard support
This commit is contained in:
@@ -35,6 +35,8 @@ class MapService():
|
||||
|
||||
def get_px_meters(self, lat, zoom):
|
||||
# Erdumfang am Äquator: 40075016 m
|
||||
if not lat:
|
||||
return 0
|
||||
return 40075016 * math.cos(math.radians(lat)) / (2 ** (zoom + 8))
|
||||
|
||||
def web_get_tile(self, domain, path):
|
||||
|
||||
Reference in New Issue
Block a user