Zooming and Centering Question: Second Run

Giridhar Manepalli gmanepal at GMAIL.COM
Sun Apr 24 23:01:06 EDT 2005


Hello All,
I am using php mapscript. I cannot get the image to center when I
click on the image and with some zooming factor.

I am using image coordinates (not geographical coordinates) for zooming.

1.)Can anyone think of possible reasons? I can provide with any
necessary information.

2.) Also, how do I center the image based on my click without zooming?

3.) Finally, does the extent of the map automatically changed by
mapscript, when I zoom?

I hope, i can get this resolved!

Thanks,
Giridhar


Hello All,
I tried to center the image based on a click when I zoom using
php/mapscript. For some reason, I am failing to do so.

Is it because, the lat long I calculated using javascript is wrong?
but it almost matches with 'ArcIMS Author'.?

Can anyone write the snippet of php/mapscript code that will zoom to
the point i click, provided I have the lat-long of the click? Also,
can you explain what the new extent will be?

Thanks,
Giridhar



More information about the mapserver-users mailing list