<!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.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=232055305-19072006><FONT face=Arial
color=#0000ff size=2>From </FONT></SPAN><SPAN class=232055305-19072006><FONT
face=Arial color=#0000ff size=2>what it looks like, you are re-defining
$aszGMap. So once you create 'Map2', your 'Map1' is lost. Also,
you don't build the $aszMapFiles array properly. Try this:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=232055305-19072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=232055305-19072006>
<DIV><FONT face=Arial color=#0000ff size=2>$aszGMap<SPAN
class=232055305-19072006>1</SPAN> = array (<BR> 'title' =>
'Map1',<BR> 'path' => '../../Map1.map',<BR> 'scales' => array(
40000000, 25000000, 12000000, 7500000, 3000000, 1000000
),<BR> );</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>$aszGMap<SPAN
class=232055305-19072006>2</SPAN> = array (<BR> 'title' =>
'Map2',<BR> 'path' => '../../Map2.map',<BR> 'scales' => array(
40000000, 25000000, 12000000, 7500000, 3000000, 1000000
),<BR> );</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><BR> $aszMapFiles = array(
'Map1' => $aszGMap<SPAN class=232055305-19072006>, </SPAN>'Map2' =>
$aszGMap<SPAN class=232055305-19072006>2</SPAN>);</FONT></DIV></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=232055305-19072006>If you
still have errors, let us know what they are.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=232055305-19072006>regards,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=232055305-19072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=232055305-19072006>Jacob</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><BR></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> ka-map-users-bounces@lists.maptools.org
[mailto:ka-map-users-bounces@lists.maptools.org] <B>On Behalf Of </B>absar
ali<BR><B>Sent:</B> 19 July 2006 13:41<BR><B>To:</B>
ka-map-users@lists.maptools.org<BR><B>Subject:</B> [ka-Map-users] Adding
Multiple maps<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>How can i add two or more maps in the combo box, i use this but gives
errors.</DIV>
<DIV> </DIV>
<DIV>$aszGMap<SPAN class=232055305-19072006><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN> = array (<BR> 'title' =>
'Map1',<BR> 'path' => '../../Map1.map',<BR> 'scales' =>
array( 40000000, 25000000, 12000000, 7500000, 3000000, 1000000
),<BR> );</DIV>
<DIV>$aszGMap<SPAN class=232055305-19072006><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN> = array (<BR> 'title' =>
'Map2',<BR> 'path' => '../../Map2.map',<BR> 'scales' =>
array( 40000000, 25000000, 12000000, 7500000, 3000000, 1000000
),<BR> );<BR> $aszMapFiles = array( 'Map1' => $aszGMap<FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=232055305-19072006> , </SPAN></FONT></FONT></FONT>Map2' =>
$aszGMap<SPAN class=232055305-19072006><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN>);</DIV>
<P>
<HR SIZE=1>
Groups are talking. We’re listening. Check out the <A
href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=41144/*http://groups.yahoo.com/local/newemail.html">handy
changes to Yahoo! Groups.</A> </BLOCKQUOTE></BODY></HTML>