<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Set layer dynamic label</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P><FONT SIZE=2 FACE="Arial">Hi all,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I am writing a new project and a specific plugin where I would like to change the label of the layers dynamically, depending on the data I have to display in the layer: By default these labels are handle by the 'layers' coreplugin and the layers.tpl template.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">- Is there a way to address these values from an other client plugin ('label' field is a private data of the layer class and I didn't find an API to access it) ? Or should I have to rewrite/extend the coreplugin 'layers' in my project to implement this feature?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">- In the sama way, is there a flag to avoid the display of an existing layer dynamically&nbsp; in the layers.tpl template? (hidden? frozen?)</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Thanks</FONT>

<BR><FONT SIZE=2 FACE="Arial">Franck</FONT>
</P>

</BODY>
</HTML>