I have tried with dBox..

I put this in head..

function mousemove_handler(name, x, y) {
   document.getElementById('coordinates').value = " x=  " + Math.round
(Number(ms.extent[0] + x*ms.cellsize)) + "   and  y= " + Math.round(Number(
ms.extent[3] - y*ms.cellsize));
     }



and this in body..

<IMG name="main" src="graphics/transparent_pixel.gif" height="600"
width="600" onMouseMove= "mousemove_handler(name, x, y)"
onMouseOver="isCursorOver=true" onMouseOut="isCursorOver=false">


But I am getting the co-ordinates value in co-ordinates box only when i
click on the image...
But, it should come as soon as I move my cursor on the image.
I tried with installing a separate jBox but i dint get the image so i left..
:)
Now, what to do?


Well, and I am not able to configure things with my "waiting graphics"..
Can some one explain that please..

regards
Satish







On 7/17/07, Luis TreviƱo <[EMAIL PROTECTED]> wrote:

you could try jBox. it's an applet that does what you want. Take a look at
http://mapserver.gis.umn.edu/docs/howto/jbox

cheers,
Luis


2007/7/16, SATish In Athens +30 6947758275 <[EMAIL PROTECTED]>:
>
> Hello all..
> When i take my mouse on the image , i want to display the image
> co-ordinates (in Kilometers or miles)  and it should change as the cursor
> changes its position..
> secondly, i want to display one graphics image for "Please Wait , map is
> loading" whenever map is refreshed..
> I do not know how to implement these features..
> your concern will be heavily appreciated..
>
>
>

Reply via email to