Thanks, I've added your line to the code.

At the beggining nothing has changed, but I've opened a few different
projects to test and for some (2) of them rendering the map worked, but for
most of tested (5) not.

I've also commented the line you've provided and nothing changes (still
those 2 works, but majority not).

On Linux still everything works.

I guess maybe it's something with image caching?

Cheers, Przemysław Gierski.


Dnia 8 maja 2014 12:39 Nyall Dawson <nyall.daw...@gmail.com> napisał(a):

> On 8 May 2014 20:23, pgierski <pgier...@o2.pl> wrote:
> 
> >
> > composerMap = QgsComposerMap(c,
> > 14.7026,113.85,map_width_on_print_mm,map_height_on_print_mm)
> > composerMap.setFrameEnabled(True)
> > composerMap.setFrameOutlineWidth(0.5)
> > c.addItem(composerMap)
> 
> What if you try explicitly setting composerMap's extent here? ie,
> composerMap.setNewExtent(rect)
> 
> Nyall
> 
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to