Skip to content

Commit

Permalink
Add missing crop
Browse files Browse the repository at this point in the history
  • Loading branch information
v-dvorak committed Apr 22, 2024
1 parent 1de53cd commit 5639f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ImageGenerator/MapGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def make_map(start: tuple[float, float], width: int, height: int, x_growth: floa
y = y_base
for j in range(width):
url = Utils.get_static_request(api_key, (x, y), zoom, size, style)
image = Utils.load_image_from_url(url)
image = Utils.load_image_from_url(url).crop((0, 0, 640, 614))

row = im_num // columns
col = im_num % columns
Expand Down

0 comments on commit 5639f6f

Please sign in to comment.