JBOX - distance measuring

Alexandre Abramides alexandre at ACQUASOFTWARE.COM.BR
Tue Mar 14 09:56:21 EST 2006


Anyone?

----- Original Message ----- 
From: "Alexandre Abramides" <alexandre at ACQUASOFTWARE.COM.BR>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Tuesday, March 07, 2006 1:55 PM
Subject: [UMN_MAPSERVER-USERS] JBOX - distance measuring


> Anyone can help me?
>
> I,m trying to use the distance measuring function from jBox.
> This is the javascript function in
> http://mapserver.gis.umn.edu/docs/howto/jbox
>
> 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 ;
>     }
> }
>
> and I don´t know what else i have to do.
> Should i add another "mode" to my html template? How do I use this
function
> properly?
>
> []
> Abramides.
>



More information about the mapserver-users mailing list