laptop and a wrench

Bug

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.

Zuletzt veröffentlicht: August 25, 2014 ArcGIS Engine
Bug-ID-Nummer NIM058959
EingereichtJuly 12, 2010
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Engine
Gefunden in Version10.0
ProgrammspracheC#
BetriebssystemWindows OS
BetriebssystemversionXP
Behoben in VersionN/A
StatusFixed

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: NIM058959

Software:

  • ArcGIS Engine

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln