Update MapBoxLayer.cs
This commit is contained in:
1 parent
3a0e4470e8
commit
4e131e08b8
1 file changed
+2
-2
@@ -16,7 +16,7 @@ namespace Virgis {
|
||||
|
||||
new protected void Awake() {
|
||||
base.Awake();
|
||||
featureType = FeatureType.MAP;
|
||||
FeatureType = FeatureType.MAP;
|
||||
}
|
||||
|
||||
public override void OnNetworkSpawn() {
|
||||
@@ -43,7 +43,7 @@ namespace Virgis {
|
||||
Enum.TryParse<ImagerySourceType>(props.imagerySourceType, true, out tmpdata.st);
|
||||
Enum.TryParse<ElevationLayerType>(props.elevationLayerType, true, out tmpdata.lt);
|
||||
Enum.TryParse<ElevationSourceType>(props.elevationSourceType, true, out tmpdata.et);
|
||||
tmpdata.origin = State.instance.project.Origin;
|
||||
tmpdata.origin = State.Instance.Project.Origin;
|
||||
tmpdata.MapSize = props.MapSize;
|
||||
tmpdata.MapScale = props.MapScale;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user