-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map thumbnails extent always cover the whole globe #12455
Labels
Comments
mattiagiupponi
added a commit
that referenced
this issue
Jul 30, 2024
12 tasks
mattiagiupponi
added a commit
that referenced
this issue
Jul 30, 2024
mattiagiupponi
added a commit
that referenced
this issue
Jul 30, 2024
mattiagiupponi
added a commit
that referenced
this issue
Sep 18, 2024
github-actions bot
pushed a commit
that referenced
this issue
Sep 18, 2024
…2460) * [Fixes #12455] Map thumbnails extent always cover the whole globe * [Fixes #12455] Map thumbnails extent always cover the whole globe * [Fixes #12455] Map thumbnails extent always cover the whole globe * Fixed bbox calculation and repositioned utils * [Fixes #12455] fix test --------- Co-authored-by: G. Allegri <giohappy@gmail.com> (cherry picked from commit 5bcbd82)
giohappy
pushed a commit
that referenced
this issue
Sep 18, 2024
…2460) (#12588) * [Fixes #12455] Map thumbnails extent always cover the whole globe * [Fixes #12455] Map thumbnails extent always cover the whole globe * [Fixes #12455] Map thumbnails extent always cover the whole globe * Fixed bbox calculation and repositioned utils * [Fixes #12455] fix test --------- Co-authored-by: G. Allegri <giohappy@gmail.com> (cherry picked from commit 5bcbd82) Co-authored-by: mattiagiupponi <51856725+mattiagiupponi@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
When a map is created the thumbnail covers the area of its map layers
Actual Behavior
When a map is created the thumbnail covers the whole globe.
For the creation of the thumbnail for a map, it cycles over the maps's maplayers. I suspect that at creation time we're generating the thumbnail before the maplayers are saved to DB. In fact, if you recreate the thumbnail afterward (with the thumbnail widget), the extent is calculated correctly.
Steps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: