AnsweredAssumed Answered

MapPoint.MoveTo() no longer moves graphics in 10.2.4

Question asked by cedrictest on Oct 13, 2014
Latest reply on Oct 14, 2014 by mnielsen-esristaff

With reference to Add graphics and text—ArcGIS Runtime SDK for .NET | ArcGIS for Developers


Using the MoveTo() method, I was able to animate the movement of Graphics as described in this page. After upgrading to 10.2.4, this is no longer the case. The MoveTo() method exists but the coordinates of the MapPoint are no longer changed.


Edit: Apparently, the MoveTo() method returns a new MapPoint which I can assign to the Graphic.
Will this be detrimental to performance? According to the page "Using MoveTo is more efficient that completely updating the graphic's geometry (that is, replacing it with a new MapPoint). When animating many graphics on the map, MoveTo will perform better."


Message was edited by: Cedric Seah