<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello everyone,</div><div>I'm automating map printing in PyQGIS 3 and encountered an issue with QgsRubberband - the rubberband is not visible on map rendered from composer.<br></div><div><br></div><div>I guess there is a good reason to not to include it, but is there a way to do so anyway? I just need to mark a very temporary polygon on the map and place it on exported layout, so creating a memory layer for just one, small polygon seems to be an overkill for me.</div><div><br></div><div>Currently I load a QPT file into QgsLayout and have QgsLayoutItemMap item in there. Everything renders fine except for the rubberband. I'd appreciate any hints on that.<br></div><div><br></div><div>Best regards</div><div>Adam Borczyk<br></div></div></div></div>