Hi Mark.<br><br>The myMap.setFullExtent() is a javascript function. It is implemented in mscross.js file and the it get only three parameters because the function calculate the Ymax acording to the other three parameters and the map dimension in pixels (
i.e. the size in pixels of the map_tag div element), so the aspect of the image would be the right one. If you look at the code of the myMap.setFullExtent() javascript function you will see that even when it takes only three parameters it sets four variables values (_ext_Xmin_orig, _ext_Xmax_orig, _ext_Ymin_orig, _ext_Ymax_orig) and the function 
myMap.setExtent() (wich is used to set the new extent each time you use a tool, as pan or zoom) makes the same job settings the four variables (_ext_Xmin, _ext_Xmax, _ext_Ymin and _ext_Ymax) values. <br><br>If you look then at the 
myMap.get_map_url() function you will see that when the function creates the url, the four values are used:<br><br><span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var ext&nbsp; = &#39;mapext=&#39; + (_ext_Xmin-i.wPixel2real(_map_w_bord)) + &#39;+&#39;
</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + (_ext_Ymin-i.hPixel2real(_map_h_bord)) + &#39;+&#39;</span><br style="font-style: italic;"><span style="font-style: italic;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + (_ext_Xmax+i.wPixel2real(_map_w_bord)) + &#39;+&#39;</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + (_ext_Ymax+i.hPixel2real(_map_h_bord)) ;
</span><br><br>So actually when your php mapscript file is called the &#39;mapext&#39; variable passed throug GET method have the four extent values (Xmin, Xmax, Ymin and Ymax).<br><br>I hope I was clear enough but sometimes my bad english don&#39;t allow me to make a better explanation. If you have any question, ask me again.
<br><br>Rodrigo.<br><br><div><span class="gmail_quote">On 6/12/07, <b class="gmail_sendername">Mark Brooks</b> &lt;<a href="mailto:mark_brooks@ncsu.edu">mark_brooks@ncsu.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Rodrigo,<br><br>Thank you!&nbsp;&nbsp;This is very helpful and much easier to work with than<br>ka-map, although ka-map has great potential.&nbsp;&nbsp;I do have one question for<br>you.<br><br>The javascript function call to set the map extent only takes three
<br>arguments (Xmin, Xmax, Ymin):<br>myMap.setFullExtent( 5649512,5711778,6099485);<br><br>while the mapscript function expects four arguments (Xmin, Ymin, Xmax,<br>Ymax):<br>$extent = explode(&quot; &quot;,$_GET[&#39;mapext&#39;]);
<br>$map-&gt;setExtent($extent[0], $extent[1], $extent[2], $extent[3]);<br><br>I don&#39;t understand why they aren&#39;t the same.&nbsp;&nbsp;I&#39;m having trouble getting<br>this part to work.&nbsp;&nbsp;Any ideas?<br><br>Mark<br><br><br>
&gt; Hi Mark. A few month ago (Jan 22) Stefan Schwarzer ask a similar question and in that moment I send him my response outside the list. I paste here my last mail to him in wich I put a long explanation about all the steps I had to do to use PHP Mapscript with mscross. I dont even remember what I wrote but I paste it here. If you have any question ask me again. Sorry my english. Rodrigo.
<br></blockquote></div><br>