i'm working with ArcGis Runtime 10.2.5 SDK for .Net.
I want to keep a graphic in the middle of the screen no matter what happens in basemap. I want to simulate an aircraft flying over the map, keeping it pinned at the center and updating basemap envelope.
My first approach was update both basemap envelope and aircraft geometry with same the position, but since the procedures don't execute at same time
//first basemap is centered MapPoint center = new MapPoint(aircraft.longitude, aircraft.latitude, SpatialReferences.Wgs84); MapView.SetView(center); //after that, aircraft is centered draw_aircraft(center.X, center.Y);there are some "vibrations" when zoom is near to earth (where low difference in geo coordinates means big differences in pixels).
is there any way to do this?
أكثر...
I want to keep a graphic in the middle of the screen no matter what happens in basemap. I want to simulate an aircraft flying over the map, keeping it pinned at the center and updating basemap envelope.
My first approach was update both basemap envelope and aircraft geometry with same the position, but since the procedures don't execute at same time
//first basemap is centered MapPoint center = new MapPoint(aircraft.longitude, aircraft.latitude, SpatialReferences.Wgs84); MapView.SetView(center); //after that, aircraft is centered draw_aircraft(center.X, center.Y);there are some "vibrations" when zoom is near to earth (where low difference in geo coordinates means big differences in pixels).
is there any way to do this?
أكثر...