diff --git a/unity/demo/Assets/Scripts/DeviceLocation.cs b/unity/demo/Assets/Scripts/DeviceLocation.cs index 91837cce..d4e68ba6 100644 --- a/unity/demo/Assets/Scripts/DeviceLocation.cs +++ b/unity/demo/Assets/Scripts/DeviceLocation.cs @@ -2,7 +2,6 @@ using System.Collections; using UnityEngine; using UtyMap.Unity.Core; -using UtyMap.Unity.Core.Positioning; using UtyMap.Unity.Infrastructure; using UtyMap.Unity.Infrastructure.Diagnostic; diff --git a/unity/demo/Assets/Scripts/Menu/PlayGamePanelManager.cs b/unity/demo/Assets/Scripts/Menu/PlayGamePanelManager.cs index 1ebef475..241d9314 100644 --- a/unity/demo/Assets/Scripts/Menu/PlayGamePanelManager.cs +++ b/unity/demo/Assets/Scripts/Menu/PlayGamePanelManager.cs @@ -2,7 +2,6 @@ using UnityEngine.SceneManagement; using UnityEngine.UI; using UtyMap.Unity.Core; -using UtyMap.Unity.Core.Positioning; using UtyMap.Unity.Infrastructure; using UtyMap.Unity.Infrastructure.Diagnostic; using UtyMap.Unity.Maps.Geocoding; diff --git a/unity/library/UtyMap.Unity/Core/GeoPosition.cs b/unity/library/UtyMap.Unity/Core/GeoPosition.cs new file mode 100644 index 00000000..dd80b186 --- /dev/null +++ b/unity/library/UtyMap.Unity/Core/GeoPosition.cs @@ -0,0 +1,16 @@ +using System; + +namespace UtyMap.Unity.Core +{ + /// + /// Represent geo position which is produced by location services (e.g. GLONASS, GPS). + /// + public class GeoPosition + { + /// Geo coordinate. + public GeoCoordinate Coordinate; + + /// Time. + public TimeSpan Time = TimeSpan.MinValue; + } +} \ No newline at end of file diff --git a/unity/library/UtyMap.Unity/UtyMap.Unity.csproj b/unity/library/UtyMap.Unity/UtyMap.Unity.csproj index d05ec367..75f50e70 100644 --- a/unity/library/UtyMap.Unity/UtyMap.Unity.csproj +++ b/unity/library/UtyMap.Unity/UtyMap.Unity.csproj @@ -49,6 +49,7 @@ +