Hello, I have a situation where I'm trying to set the position of a player's ArcGISLocationComponent to that of another ArcGISLocationComponent of a known place mark. It seems to work most of the time but on occasion randomly teleports the player far beyond the edge of the map. Has anyone experienced this before and more importantly know how to fix it?
Here is some sample code:
ArcGISPoint tourGeographicCoordinates = new ArcGISPoint(tourStop.GetComponent<ArcGISLocationComponent>().Position.X, tourStop.GetComponent<ArcGISLocationComponent>().Position.Y - 500f, 350, ArcGISSpatialReference.WebMercator());
playerLocationComponent.Position = tourGeographicCoordinates;
playerLocationComponent.Rotation = new ArcGISRotation(0, 90, 0);