//图的比例尺
public function get MapScale():Number
{
var dPixelsPerInches:Number = 97.69230769;
var dPixelsPerMiles:Number = 63360 * dPixelsPerInches;
var dPixelsPerFeet:Number = 12.0 * dPixelsPerInches;
var dPixelsPerKilometers:Number = 39370.07874016 * dPixelsPerInches;
var dPixelsPerMeters:Number = 39.37007874 * dPixelsPerInches;
var dPixelsPerCentimeters:Number = 0.39370079 * dPixelsPerInches;
return this.CurrentExtent.Width/(this.displayTrans.ImgDescriptor.ImageExtent.Width/dPixelsPerMeters);
}
var dPixelsPerInches:Number = 97.69230769;
不知道这个97.69230769是怎么得来的,总感觉显示器的尺寸与分辨率相关,有谁能告诉我有什么好方法啊?