PyQGIS open layers map is not seen correctly in PNG file saved through QgsComposition

المشرف العام

Administrator
طاقم الإدارة
I have created a python script to create a map which contains 3 layers. 1 is polygon layer administrative boundaries, 2 is point layer, 3 is openlayer plugin map.I want to export this as an image in PNG format. I do this using QgsComposition class as suggested in this link http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/composer.html

However in the resulting picture it seems like the picture was exported before the openlayers map was fully loaded. In the picture you can see few tiles from the map while other area is full white. Is it some kind of refresh problem? or I am not doing it correctly? Please help.





أكثر...
 
أعلى