<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5921" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=148421122-10022010>Hi 
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=148421122-10022010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=148421122-10022010>I have a scenario in 
a plugin where a change to a (python plugin) renderer on one layer may cause a 
change to other layers rendered with the same renderer.&nbsp; Logically this 
should emit a signal (directly or indirectly) to request </SPAN></FONT><FONT 
face=Arial size=2><SPAN class=148421122-10022010>request the other layers to be 
refreshed.&nbsp; </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=148421122-10022010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=148421122-10022010>I can sort of do 
this at the moment because layer change triggers a map refresh, and which in 
turn&nbsp;calls the startRender event in the renderer of&nbsp;the affected 
layers, which&nbsp;can then update themselves as necessary.&nbsp; (Another 
probably better way to do it would be to raise a signal when the renderer 
changes which a handler uses to update all the affected layers.) 
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=148421122-10022010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=148421122-10022010>However I'm worried 
that this won't work if the render cache is in use.&nbsp; I'm guessing this 
caches rendered layers and only refreshes the changed layers, rather than the 
entire map?&nbsp; </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=148421122-10022010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=148421122-10022010>If so, then I need 
to be able to do</SPAN></FONT><FONT face=Arial size=2><SPAN 
class=148421122-10022010>&nbsp;signal to a layer that it needs refreshing.&nbsp; 
At the moment I can only see how to refresh the entire map canvas.&nbsp; Have I 
missed something in the API?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=148421122-10022010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=148421122-10022010>Thanks<BR>Chris</SPAN></FONT></DIV>
<DIV>
<HR>

<DIV>This message contains information, which is confidential and may be subject 
to legal privilege. <BR>If you are not the intended recipient, you must not 
peruse, use, disseminate, distribute or copy this message.<BR>If you have 
received this message in error, please notify us immediately (Phone 0800 665 463 
or <A href="mailto:sinfo@linz.govt.nz">info@linz.govt.nz</A> ) and destroy the 
original message.</DIV>
<DIV>LINZ accepts no responsibility for changes to this email, or for any 
attachments, after its transmission from LINZ.</DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG>Thank you.</STRONG> <BR></DIV>
<HR>
</DIV>
</BODY></HTML>