<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<P><FONT face="Courier New" size=2>If you use the cwcjsapi widget, you could try
these javascript variables:</FONT> </P>
<P><FONT face="Courier New" size=2>goCWCJSAPI.oMap.aLayers[i].title (for the
name)</FONT> <BR><FONT face="Courier New" size=2>goCWCJSAPI.oMap.aLayers[i].data
(for the filename; probably manually put</FONT> <BR><FONT face="Courier New"
size=2>your datapath in front of it)</FONT> </P>
<P><FONT face="Courier New" size=2>Have a look in cwcjsapi on line 289, where
you can see how the various</FONT> <BR><FONT face="Courier New" size=2>variables
are accessed.</FONT> </P>
<P><FONT face="Courier New" size=2>Jacob</FONT> </P><BR>
<P><FONT face="Courier New" size=2>-----Original Message-----</FONT> <BR><FONT
face="Courier New" size=2>From: chameleon-bounces@lists.maptools.org</FONT>
<BR><FONT face="Courier New" size=2>[</FONT><A
title=mailto:chameleon-bounces@lists.maptools.org
href="mailto:chameleon-bounces@lists.maptools.org"><U
title=mailto:chameleon-bounces@lists.maptools.org><FONT
title=mailto:chameleon-bounces@lists.maptools.org face="Courier New"
color=#0000ff
size=2>mailto:chameleon-bounces@lists.maptools.org</FONT></U></A><FONT
face="Courier New" size=2>] On Behalf Of Vicente Espinosa</FONT> <BR><FONT
face="Courier New" size=2>Garcia</FONT> <BR><FONT face="Courier New"
size=2>Sent: 22 February 2005 20:13</FONT> <BR><FONT face="Courier New"
size=2>To: chameleon@lists.maptools.org</FONT> <BR><FONT face="Courier New"
size=2>Subject: [Chameleon] Locate layers</FONT> </P><BR>
<P><FONT face="Courier New" size=2>Hi I'm a newbie in chameleon software. I'm
studying the chameleon source </FONT><BR><FONT face="Courier New" size=2>code.I
want to get the name and the filename of the layers that the </FONT><BR><FONT
face="Courier New" size=2>chameleon load in a request. I have studying the
drawmap.php but I don't </FONT><BR><FONT face="Courier New" size=2>have succes
in my search. Please help me. thanks.</FONT> </P><BR>
<P><FONT face="Courier New"
size=2>_______________________________________________</FONT> <BR><FONT
face="Courier New" size=2>Chameleon mailing list</FONT> <BR><FONT
face="Courier New" size=2>Chameleon@lists.maptools.org</FONT> <BR><A
title=http://lists.maptools.org/mailman/listinfo/chameleon
href="http://lists.maptools.org/mailman/listinfo/chameleon"><U
title=http://lists.maptools.org/mailman/listinfo/chameleon><FONT
title=http://lists.maptools.org/mailman/listinfo/chameleon face="Courier New"
color=#0000ff
size=2>http://lists.maptools.org/mailman/listinfo/chameleon</FONT></U></A>
</P><BR></FONT></DIV></BODY></HTML>