新版骑行页面前备份
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:
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 102e792eaf910f74e9acb0b9a6182219
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9281e8bf86b8d70459ba6c65898fee31
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in new issue
Block a user