JBOX - distance measuring
salah jubeh
s_jubeh at YAHOO.COM
Tue Dec 27 09:05:36 PST 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.htm>
More information about the MapServer-users
mailing list