[MAPSERVER-USERS] problem with map.zoomToExtent

S.Reena reena at indiamail.com
Sat Aug 9 00:30:46 PDT 2008


i have three files... one html, one javascript and one php....i am handling
database through php file and sending the result of that to a function in
javascript file..
echo " \"javascript:zoomVillage($box1,$box2,$box3,$box4)\" Open Map ";

These are ST_box2D() data which i hv split in 4 parts ...the thing is if i
alert these values in that function..its working..but i i do like

map.zoomToExtent(new OpenLayers.Bounds(str1,str2,str3,str4))  where str1 etc
contain the passed values.. 

this doesn't work..

Can any1 help?

Cheers,
S.Reena
-- 
View this message in context: http://www.nabble.com/problem-with-map.zoomToExtent-tp18902842p18902842.html
Sent from the Mapserver - User mailing list archive at Nabble.com.




More information about the MapServer-users mailing list