新版骑行页面前备份
This commit is contained in:
1 parent
4896fab824
commit
e7ad9473a5
85 files changed
+6816
-5424
No files matched your search
@@ -154,7 +154,8 @@ namespace Mapbox.Unity.Map
|
||||
/// <param name="imageSource"></param>
|
||||
public virtual void SetLayerSource(ImagerySourceType imageSource)
|
||||
{
|
||||
if (imageSource != ImagerySourceType.Custom && imageSource != ImagerySourceType.None)
|
||||
//if (imageSource != ImagerySourceType.Custom && imageSource != ImagerySourceType.None)
|
||||
if (imageSource != ImagerySourceType.None)
|
||||
{
|
||||
_layerProperty.sourceType = imageSource;
|
||||
_layerProperty.sourceOptions.layerSource = MapboxDefaultImagery.GetParameters(imageSource);
|
||||
|
||||
@@ -58,7 +58,13 @@
|
||||
|
||||
break;
|
||||
case ImagerySourceType.Custom:
|
||||
throw new Exception("Invalid type : Custom");
|
||||
//throw new Exception("Invalid type : Custom");
|
||||
defaultStyle = new Style
|
||||
{
|
||||
Id = "mapbox://styles/mapbox/satellite-streets-v11",
|
||||
Name = "Satellite Streets"
|
||||
};
|
||||
break;
|
||||
case ImagerySourceType.None:
|
||||
throw new Exception("Invalid type : None");
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user