<div>Hello all...</div>
<div>&nbsp;</div>
<div>I´m with a problem with a click in my reference map...I´m using zoomScale in mapscript to do the reference click, like that:</div>
<div><font size="2">
<p>(C#)<br>mapaObj.zoomScale(__mapScale, __point, mapaObj.width, mapaObj.height, __OriginalExtent, </p></font><font color="#0000ff" size="2">null</font><font size="2">);<br>I calculated the __point like that:</font><font size="2">

<p>(JS)<br>y = (map.height * yReferenceClicked) / referenceMap.height;<br>x = (map.width&nbsp; * xReferenceClicked) / referenceMap.width; </p></font>
<p><font size="2">Ok...When I´m in original scale, It´s work great... But when a start to zoom in my Map, the reference click&nbsp;starts to show the wrong place, especially when the click&nbsp;is in the sides of the reference map...
</font></p>
<p><font size="2">You can see whats happening here :</font></p>
<p><font size="2"><a href="http://eabserver.osu.edu/eab_mapserverapp/eab_tiger.phtml?PREVIOUS_MODE=1&amp;ohcnty=Y&amp;ohcnty_anno=Y&amp;ohidx=Y&amp;tiger_roads=Y&amp;tiger_rdanno=Y&amp;MapSize=800%2C600&amp;minx=72979.237684&amp;miny=177658.043136&amp;maxx=81272.604226&amp;maxy=183878.068042&amp;imagewidth=800&amp;imageheight=600&amp;CMD=ZOOM_IN&amp;CMD=ZOOM_IN&amp;KEYMAPXSIZE=156&amp;KEYMAPYSIZE=125&amp;KEYMAP.x=134&amp;KEYMAP.y=9">
http://eabserver.osu.edu/eab_mapserverapp/eab_tiger.phtml?PREVIOUS_MODE=1&amp;ohcnty=Y&amp;ohcnty_anno=Y&amp;ohidx=Y&amp;tiger_roads=Y&amp;tiger_rdanno=Y&amp;MapSize=800%2C600&amp;minx=72979.237684&amp;miny=177658.043136&amp;maxx=81272.604226&amp;maxy=183878.068042&amp;imagewidth=800&amp;imageheight=600&amp;CMD=ZOOM_IN&amp;CMD=ZOOM_IN&amp;KEYMAPXSIZE=156&amp;KEYMAPYSIZE=125&amp;KEYMAP.x=134&amp;KEYMAP.y=9
</a></font></p>
<p><font size="2">Try click on the left top side ... </font></p>
<p><font size="2">Any ideas? Is zoomScale the best way to simulate a reference click??</font></p>
<p><font size="2">TY</font></p></div>
<div>&nbsp;</div>