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.
|
|
|
|
namespace Mapbox.Unity.Map
|
|
|
|
|
{
|
|
|
|
|
using System;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class MapOptions : MapboxDataProperty
|
|
|
|
|
{
|
|
|
|
|
public MapLocationOptions locationOptions = new MapLocationOptions();
|
|
|
|
|
public MapExtentOptions extentOptions = new MapExtentOptions(MapExtentType.RangeAroundCenter);
|
|
|
|
|
public MapPlacementOptions placementOptions = new MapPlacementOptions();
|
|
|
|
|
public MapScalingOptions scalingOptions = new MapScalingOptions();
|
|
|
|
|
[Tooltip("Texture used while tiles are loading.")]
|
|
|
|
|
public Texture2D loadingTexture = null;
|
|
|
|
|
public Material tileMaterial = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class EditorPreviewOptions : MapboxDataProperty
|
|
|
|
|
{
|
|
|
|
|
public bool isPreviewEnabled = false;
|
|
|
|
|
}
|
|
|
|
|
}
|