//**************************************************************************************************** // //**************************************************************************************************** public void Update(GPS.Coord latitude, GPS.Coord longitude, Vector3 pos) { if (m_latRing != null) { m_latRing.latitude = latitude.deg; } if (m_lngRing != null) { m_lngRing.longitude = longitude.deg; } if (m_spot != null) { m_spot.transform.position = pos; m_spot.transform.LookAt(pos * 2.0f); } }
//**************************************************************************************************** // //**************************************************************************************************** public void UpdateCoordSelection(GPS.Coord latitude, GPS.Coord longitude) { m_UI.latitude = string.Format("{0}N", latitude.As(m_options.coordUnit).ToString()); m_UI.longitude = string.Format("{0}E", longitude.As(m_options.coordUnit).ToString()); }