diff --git a/setup.py b/setup.py index bccb32c..49c4e5a 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="simple_dwd_weatherforecast", - version="2.1.7", + version="2.1.8", author="Max Fermor", description="A simple tool to retrieve a weather forecast from DWD OpenData", long_description=long_description, diff --git a/simple_dwd_weatherforecast/dwdmap.py b/simple_dwd_weatherforecast/dwdmap.py index 7f4be5e..d120554 100644 --- a/simple_dwd_weatherforecast/dwdmap.py +++ b/simple_dwd_weatherforecast/dwdmap.py @@ -285,7 +285,7 @@ def draw_marker( ) * image.width, ( - (marker.latitude - image_bounderies.minY) + (image_bounderies.minY - marker.latitude) / (image_bounderies.maxY - image_bounderies.minY) ) * image.height,