laptop and a wrench

Error

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.

Última publicación: August 25, 2014 ArcGIS Engine
Número de ID del error NIM058959
EnviadoJuly 12, 2010
Última modificaciónJune 5, 2024
Relacionado conArcGIS Engine
Versión encontrada10.0
Lenguaje del programaC#
Sistema operativoWindows OS
Versión de sistema operativoXP
Versión corregidaN/A
EstadoFixed

Solución alternativa

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.

Pasos para reproducir

ID del error: NIM058959

Software:

  • ArcGIS Engine

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga