| MGMap.getMcsScaleFactor |
|
double getMCSScaleFactor()
Gets the conversion factor to convert from the current Mapping Coordinate System (MCS) to meters.
The MCS can vary based on factors such as the current projection of the map.
double - The conversion factor to convert from MCS to Meters.
none
This simple function is designed to work with the Tutorial.mwf file that is included with Autodesk MapGuide Author. It displays the MCS-to-meters conversion factor:
function mcsConversionFactor()
{
alert("Conversion factor is " + getMap().getMCSScaleFactor());
}