Hi there, I'm curious if there is a more efficient way to set the location of an object on the ArcGISMap at runtime. The way I have seen requires the creation of a new ArcGISPoint and then setting the location component's Position to this new ArcGISPoint object.
For my game, I'm having to create a point every frame in Update since my lat/lon/alt data is being streamed in from an external source. This data moves the player's vehicle around the world. Is there is a better, more efficient alternative I can use in this scenario for setting position? Is this the only way to change a position using Lat/Lon/Alt? Since I am having to do this every frame, I am creating a lot of garbage for the garbage collector, and this is pretty slow.
I have looked into setting the X/Y/Z on the location component's Position (an ArcGISPoint), but this is not possible as those properties are get-only. For this same reason it is not possible to cache an ArcGISPoint, adjust its X/Y/Z, and set the location component equal to this cached point.
Thanks in advance!
ERS