Feature request #6988

Print Composer - Centered map

Added by Miroslav Umlauf over 11 years ago. Updated over 9 years ago.

Assignee:Marco Hugentobler
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:16093


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

Revision 5aac8bbf
Added by Nyall Dawson over 10 years ago

Ensure map is centered when updating map extent (fix #6988)


#1 Updated by Nyall Dawson over 10 years ago

  • Status changed from Open to Closed

#2 Updated by Balaji S R over 9 years ago


"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


#3 Updated by Mohanakarthick Balan over 9 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.


Also available in: Atom PDF