Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Map extent calculation throws exception for empty maps #12651

Closed
giohappy opened this issue Oct 15, 2024 · 0 comments · Fixed by #12652
Closed

Map extent calculation throws exception for empty maps #12651

giohappy opened this issue Oct 15, 2024 · 0 comments · Fixed by #12652
Assignees
Milestone

Comments

@giohappy
Copy link
Contributor

The reason is that in case of empty maps the infinite starting coords are used for the final extent, since the box is not reduced by map layers.

@giohappy giohappy added this to the 4.4.1 milestone Oct 15, 2024
@giohappy giohappy self-assigned this Oct 15, 2024
@giohappy giohappy linked a pull request Oct 15, 2024 that will close this issue
13 tasks
mattiagiupponi pushed a commit that referenced this issue Oct 15, 2024
* [Fixes #12651] Wrong extent calculated for empty maps
* use iterator to iterate map layers
github-actions bot pushed a commit that referenced this issue Oct 15, 2024
* [Fixes #12651] Wrong extent calculated for empty maps
* use iterator to iterate map layers

(cherry picked from commit e54b42c)
giohappy added a commit that referenced this issue Oct 15, 2024
* [Fixes #12651] Wrong extent calculated for empty maps
* use iterator to iterate map layers

(cherry picked from commit e54b42c)

Co-authored-by: Giovanni Allegri <giohappy@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant