[Qgis-developer] Plugin layer and labelling

Chris Crook ccrook at linz.govt.nz
Sun Jan 27 11:41:50 PST 2013


Hi All

I'm updating a plugin to use a plugin layer to display a scale box, and I have a problem with labelling from other layers appearing on top of my plugin layer.


I'm using a plugin layer so that the scale box will appear on the map when it is printed.  It basically draws a filled rectangle and puts some text in it.  The problem I have is that labelling from layers underneath the scale box layer end up plotting on top of it.

Is there a simple way of ensuring that the box appears on top of the labelling.  I'm wondering about drawing the rectangle as a label itself with some sort of custom labelling, but that looks like a lot more work :-(

Is there a simpler way?

Thanks
Chris Crook

This message contains information, which is confidential and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please notify us immediately (Phone 0800 665 463 or info at linz.govt.nz) and destroy the original message. LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ. Thank You.


More information about the Qgis-developer mailing list