[TASK] Initial commit with basic product setup
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
namespace Mapbox.Unity.Map
|
||||
{
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using Mapbox.Unity.Utilities;
|
||||
[Serializable]
|
||||
public class MapLocationOptions : MapboxDataProperty
|
||||
{
|
||||
[Geocode]
|
||||
[Tooltip("The coordinates to build a map around")]
|
||||
public string latitudeLongitude = "0,0";
|
||||
[Range(0, 22)]
|
||||
[Tooltip("The zoom level of the map")]
|
||||
public float zoom = 4.0f;
|
||||
|
||||
//TODO : Add Coordinate conversion class.
|
||||
[NonSerialized]
|
||||
public MapCoordinateSystemType coordinateSystemType = MapCoordinateSystemType.WebMercator;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user