laptop and a wrench

不具合

In an Engine App that uses ESRI.ArcGIS.Carto.RealTimeFeedManger to display the location of a GPS point in a MapControl, resizing the MapControl, followed by some map interaction after a few hours, such as panning and zooming, causes the resized portion of the map display to "freeze" up.

最後に公開された状態: August 25, 2014 ArcGIS Engine
不具合 ID 番号 NIM099924
送信されましたMarch 17, 2014
最終更新日June 5, 2024
適用対象ArcGIS Engine
見つかったバージョン10.1
プログラム言語C#
オペレーティング システムWindows OS
オペレーティング システムのバージョン7 64 Bit
ステータスNon-Reproducible

参考情報

No Public Explanation

対処法

There is some additional code that you need to add to an Engine Application that uses an AxMapControl with a live GPS feed to avoid the map control display getting corrupted after a while. With reference to the bug report sample application attached to this NIM, follow the steps below:1) Add code to the setPanelSize() method (this resizes the map control) to deactivate and re-activate the map control. setPanelSize() { // Add this code right at the top before your current code rightMapControl.ActiveView.Deactivate(); leftMapControl.ActiveView.Deactivate(); // Your existing code (no change) .... .... // Add this code immediately close to the end of your existing code rightMapControl.ActiveView.Activate(rightMapControl.hWnd); leftMapControl.ActiveView.Activate(leftMapControl.hWnd); //move map rightMapControl.Refresh(); leftMapControl.Refresh(); }2) Enable hardware accelertion within the FormLoad event: private void Main_Load(object sender, EventArgs e) { IGlobalScreenDisplaySettings gsds = new GlobalScreenDisplaySettings(); gsds.EnableHardwareAcceleration = gsds.CanEnableHardwareAcceleration(); // .. the rest of the form code ... }Once these changes are implemented, the mapControl stabilizes. Its display does not freeze up or get corrupted when a user interacts with the map control's display, e.g. panning and zooming the map; even after the application has been running for several hours or days.

再現の手順

不具合 ID: NIM099924

ソフトウェア:

  • ArcGIS Engine

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

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

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

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

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

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

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