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.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.