<html>
<head>
</head>
<body>
THANK YOU, THANK YOU, THANK YOU!!!!<br>
<br>
This fixed it! &nbsp;I knew it was something simple, but I had no idea that the
name of my image was important! &nbsp;I guess I'm just a little lacking on understanding
the depths of how HTML forms work.<br>
<br>
Thanks a ton! &nbsp;What a great development community Mapserver has!<br>
<br>
<br>
<br>
TCHaddad wrote:<br>
<blockquote type="cite" cite="mid:200209241353.AA1880031494@cshore.com">
  <pre wrap="">The URL is being formed by your browser, not Mapserver. So the problem is in the page that you have you form in.<br><br>did you give your form &lt;input type="image" name="map"&gt; ?<br><br>if so then change to name="img" and the URL should get formed correctly, and mapserver will get the values it needs from the correctly named element.<br><br>hope this helps,<br><br>TH<br><br><br><br>---------- Original Message ----------------------------------<br>From: Mike Smith <a class="moz-txt-link-rfc2396E" href="mailto:nospam@cnrit.tamu.edu">&lt;nospam@cnrit.tamu.edu&gt;</a><br>Date: Tue, 24 Sep 2002 12:08:28 -0500<br><br></pre>
  <blockquote type="cite">
    <pre wrap="">Hello listers,<br><br>   Sorry to sound like a broken record, but I can't seem to get past <br>this seemingly elementary problem!  I still can't get my image to zoom <br>or pan to the point of my mouse click...it only zooms in to the center <br>of the image and panning is totally disabled.  Thanks to several of you <br>for offering suggestions, but nothing has worked so far.  I'm right on <br>the edge of uncovering the problem, but can't seem to figure out where a <br>certain mapserver CGI variable is coming from...here's what I've got:<br><br>when I click on my main image, my page reloads and zoomin occurs, but <br>only to the center of my image, not to the point that I clicked on.  I <br>see in the URL of my browser that the actual coordinates of my mouse <br>clicks are showing up, however, unlike the Itasca demo and other working <br>Mapserver pages I've seen, my mouse click coordinates are showing up in <br>the following format:<br><br>..../cgi-bin/mapser
v?map.x=214&amp;map.y=43.....<br><br>now if I go into the URL field and change the above "map.x" and "map.y" <br>to "img.x" and "img.y" respectively, then reload the URL...BOOM!  My <br>image shows up zoomed to the right factor and centered on the point I <br>had clicked on.<br><br>Here's my question:  How come I get "map.x" and "map.y" when I click my <br>image?  If these were "img.x" and "img.y" then everything would be <br>working...why is my mapserv CGI program inserting the wrong CGI variable <br>names?  If I can only get it to insert the mouse coordinates as "img.x" <br>and "img.y" values, I'll be working just fine!<br><br>Thanks in advance for your help!<br><br><br><br><br></pre>
    </blockquote>
    <pre wrap=""><!----><br><br></pre>
    </blockquote>
    <br>
    </body>
    </html>