Feature request #6988
Print Composer - Centered map
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Marco Hugentobler | ||
Category: | - | ||
Pull Request or Patch supplied: | No | Resolution: | |
Easy fix?: | No | Copied to github as #: | 16093 |
Description
Unfortunately when I create map frame in Print Composer, the layer is centered on width (good) but not centered on height (I guess it is aligned to bottom).
If I use button Set to map canvas extent in Print Composer / Item Properties / Extents it is again centered on width but not centered on height - this time looks aligned to top.
I think in both cases it would be much better to have it centered.
Associated revisions
Ensure map is centered when updating map extent (fix #6988)
History
#1 Updated by Nyall Dawson about 11 years ago
- Status changed from Open to Closed
Fixed in changeset 5aac8bbfe060502944b4b4cc3bfb00860b583e98.
#2 Updated by Balaji S R about 10 years ago
Hi
"Not able to center map in map canvas" through coding - Reference (Feature request #6988 - facing same problem )
I am using windows 7 and QGIS 2.6.1 Brighton (API 2.6) version
Can anybody update on this
Regards,
Balaji
#3 Updated by Mohanakarthick Balan about 10 years ago
Got some answer saying that it has been fixed in latest api version. But i am also facing the same issue. I tried using API 2.2 and API 2.6 but not working.
Can any one give us code snippet used to come over this issue.
Regards,
Mohanakarthick