I also thought the same thing me. But I have tried to directly insert the
coordinates X/Y in the script it is it works because the buffer takes it in
automatic from the config.ini.
This works:

<SCRIPT  LANGUAGE="JavaScript1.2" >
  function openFramesZoom(sizevals, gLanguage, config, startParameters){
    var sizearray = sizevals.split('#');
    var winwidth  = parseInt(sizearray[0]);
    var winheight = parseInt(sizearray[1]);
    var winsize   = sizearray[2];
   
myw=window.open("frameview.phtml?zoomExtent=2651338.08133+4361254.34258+2653338.08133+4363254.34258
&winsize=" + winsize + "&language=" + gLanguage + "&config=" + config +
startParameters, "MapServerTestSuite", "width=" + winwidth + ",height=" +
winheight +
",menubar=no,scrollbar=auto,resizable=no,top=0,left=0,status=yes");
    
  }
</SCRIPT>

I would like that the coordinates takes her from the form with:

document.zoom2point.X.value

-- 
View this message in context: 
http://www.nabble.com/zoom2point-tf2185085.html#a6045879
Sent from the Pmapper-users forum at Nabble.com.


Reply via email to