zoom rectangle with PHP
SUBSCRIBE MAPSERVER-USERS Y. Calcagni
yvan.calcagni at VOILA.FR
Fri Sep 2 02:09:54 PDT 2005
Hi,
you don't need to get the 4 coordinates but only the upper left and the
lower right ones (or reverse) and then you can recreate by yourself the 4
coords. So you've to use javascript functions to record the first
coordinate clicked on the client map (onmousedown event) and the second
(onmouseup event) and send it with a form submit. Then you will be able to
make a php zoomtoextent().
Hope it will help you.
Yvan CALCAGNI
More information about the MapServer-users
mailing list