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.
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