laptop and a wrench

Erro

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 Publicação: August 25, 2014 ArcGIS Engine
Número de ID do Erro NIM058959
EnviadoJuly 12, 2010
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS Engine
Versão encontrada10.0
Idioma do programaC#
Sistema OperacionalWindows OS
Versão do Sistema OperacionalXP
Versão FixaN/A
StatusFixed

Solução Provisória

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.

Etapas para Reproduzir

ID do Erro: NIM058959

Software:

  • ArcGIS Engine

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download