NMEA2000 remote keyboard support

This commit is contained in:
2026-01-04 19:15:13 +01:00
parent ba43c3147e
commit fa1ec509da
3 changed files with 23 additions and 2 deletions

View File

@@ -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):