Skip to content

Commit

Permalink
Change latitude singn for markers
Browse files Browse the repository at this point in the history
  • Loading branch information
FL550 committed Oct 6, 2024
1 parent b009423 commit c8ed1ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion simple_dwd_weatherforecast/dwdmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c8ed1ac

Please sign in to comment.