laptop and a wrench

漏洞

Refresh is incomplete and data disappears when dynamically updating a point layer (GPS data) using a timer over a map document containing a map service on AxMapControl.

上次发布: August 25, 2014 ArcGIS Engine
漏洞 ID 编号 NIM058959
已提交July 12, 2010
上次修改时间June 5, 2024
适用范围ArcGIS Engine
找到的版本10.0
编程语言C#
操作系统Windows OS
操作系统版本XP
修正版本N/A
状态Fixed

解决办法

The workaround for this issue is to change the code for the drawing of the custom layer. This avoids the problem and will ultimately improve the overall performance of the application:1. Set the Layer.Cached property to true.2. Get the ScreenCacheId of the newly cached layer.short cacheId = axMapControl1.ActiveView.get_ScreenCacheID(esriViewDrawPhase.esriViewGeography, featureLayer);3. Refresh only that cache:m_mapControl.ActiveView.PartialRefresh(esriViewDrawPhase.esriViewGeography, cacheId, null);For even better performance use IViewRefresh instead.

重现步骤

漏洞 ID: NIM058959

软件:

  • ArcGIS Engine

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项