JBOX - distance measuring

salah jubeh s_jubeh at YAHOO.COM
Tue Dec 27 12:05:36 EST 2005


Hi Guys
   
  I want to know how this function works - what are these parameters s, t, and specially c.
   
  also is there is any way to do this without applets. since the client has to download java VM and many times compatibility problems occurs.
   
  Thanks in advance.
   
  function measure_handler(name, s, t, n, a) {
// c = 1 / 72dpi / 12inches_per_foot * 1.0003state_plane_scale_factor
var c = 0.0011577546296296; // constant
var f = [scale] * c; // scale factor
if ((s>0) || (t>0)) {
defaultStatus = "This segment = " + s*f + ", Total = " + t*f + ", Number of vertices = " + n ;
}
}





Best Regard
 
Eng. Salah Al Jubeh

MCP,MCAD,MCSD 



Mobile:00306947192421

 



		
---------------------------------
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051227/da4fd3e8/attachment.html


More information about the mapserver-users mailing list