laptop and a wrench

不具合

MapCircleEventArgs and CircleEventArgs do not report the right Screen and Map radius.

最後に公開された状態: August 25, 2014 No Product Found
不具合 ID 番号 NIM036015
送信されましたJune 11, 2008
最終更新日June 5, 2024
適用対象No Product Found
見つかったバージョン9.3
プログラム言語C#
修正されたバージョンN/A
ステータスFixed

対処法

Derek on 7\30\8:Please reference the work around in KB 35305Access the MapCircleEventsArgs MapRadius property and perform additional calculations. To determine the correct map radius, divide the MapCircleEventsArgs MapRadius value by 4. To determine the correct screen radius, divide the MapCircleEventsArgs MapRadius value by 4 and then divide the result by the map to screen ratio (resolution). public void ServerAction(ESRI.ArcGIS.ADF.Web.UI.WebControls.ToolEventArgs args){ Map mmap = args.Control as Map; MapCircleEventArgs mcea = (MapCircleEventArgs)args; double maptoscreenratio = mmap.Extent.Width / mmap.ViewWidth; double mapradius = mcea.MapRadius / 4; double screenradius = (mcea.MapRadius / 4) / maptoscreenratio; System.Diagnostics.Debug.Print("Map To Screen Ratio: {0}", maptoscreenratio); System.Diagnostics.Debug.Print("Map Radius: {0} units)", mapradius); System.Diagnostics.Debug.Print("Screen Radius: {0} pixels)", screenradius);}

再現の手順

不具合 ID: NIM036015

ソフトウェア:

  • No Product Found

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動