I need help to make the map pan as my graphic tracker symbol moves based on the GPS feed. I am using Arc Object 10 with VS.net VB.
The basic method would be to use IActiveView and IEnvelope. Each time your graphic tracker symbol moves, use IEnvelope.CenterAt() and reset your IActiveView.Extent to the updated Envelope, and then refresh.
That will not work because the map refreshes every time the GPS changes this is every half a second. It causes the map to blip and is very ugly, not acceptable.
Provides access to the Center And Scale Map Area Interface. Product Availability Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Maybe ArcGIS Desktop is not the right solution for map refreshes every 0.5 seconds for you.
I only mentioned these things because I am also using the GraphicsTracker for an application receiving constant GPS data and I support a function that "follows" a graphic around the map as it moves. Essentially the same thing as dachenbach.The blip mentioned sounded like the flashing I see but perhaps it is different.
It is recommended that not to use labels when using the GraphicTracker to display moving points. For performance reasons the Graphics in the GraphicTracker draw in the same phase as labels. Therefore labels may conflict with the graphics, cause flickering, and slowdown the overall performance of the GraphicTracker.
Although I am not giving up, here is part of the response from ESRI support.I don't understand this since the graphics themselves are drawn on top of everything else on the map. The placement of labels (for map layers) and graphics on the tracker do not position themselves in relation to each other to improve visibility. The graphics are always drawn exactly where you tell them.The only other thing I can think of is to use annotation layers instead of standard dynamic map labels. The problem is that takes time to do and many of my users would not know how to do this.
Our recommendation for this case is to not use labels. This is documented here:http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/#/Using_a_GraphicTracker/0001000004tv000000/
Retrieving data ...