You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
527 B
20 lines
527 B
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;
|
|
}
|
|
}
|
|
|