[mapguide-users] measurement in meter and not in km on MGOS

Maciej Skorczewski maciej.skorczewski at procad.pl
Mon Apr 16 04:34:39 EDT 2007


in measureui.templ

edit:

function SetMeasureResults(partial, total)
{
document.getElementById("partial").innerHTML = partial.toFixed(3);
document.getElementById("total").innerHTML = total.toFixed(3);
}


toFixed(3)-> you can set precision of output meansure for ex:(0,001 km).

maciek




> You can choose either to modify this server side script or the client side
> one (measureui.templ) to output the distances in the units you prefer
> Hope it helps


-- 
Maciej Skórczewski




More information about the mapguide-users mailing list