I'm very new to the world of GIS, though not to the world of Unity, and I cannot understand why this isn't working. It doesn't seem like anyone else has had issues, so I'm sure it's just something dumb that I'm doing, but any help would be appreciated regardless.
Currently, I'm just trying to put gameobjects down on the coordinates they are supposed to be on.
private void Start()
{
ArcGISPoint startPoint = new ArcGISPoint((double)-90.5125122530634, (double)41.4975369998688, (double)210);
SetLocation(startPoint);
}
public void SetLocation (ArcGISPoint location)
{
locationComponent.Position = location;
}
Right now, all I want is for it to move to the coordinates I've set, but I can't get it to budge in any way at all.
I am using the Esri.ArcGISMapsSDK.Components and Esri.GameEngine.Geometry libraries.
Thus far, it doesn't move, and if it does manage to move, it moves to lat 0 lon 0.
Can anyone tell me what I'm doing wrong?