[mapguide-users] measurement in meter and not in km on MGOS
Adrià
amptarraco at hotmail.com
Mon Apr 16 04:09:09 EDT 2007
Measures are created in measure.php (line 90):
$distance =
$srsMap->ConvertCoordinateSystemUnitsToMeters($distance);
if(!$us)
$distance *= 0.001; //get kilometers
else
$distance *= 0.000621371192; //get miles
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
jean marie wrote:
>
>
> hello, I would like to know how to configure Mapguide for measurement in
> meter and not in km
> thank you Jean-Marie
>
>
--
View this message in context: http://www.nabble.com/measurement-in-meter-and-not-in-km-on-MGOS-tf3581245s16610.html#a10011844
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list