remove geoappstate from mapboxlayer

This commit is contained in:
runette committed 2024-05-13 17:14:37 +01:00
1 parent ea9c74f7ec
commit 1c8bcc5001
1 file changed
+1 -1
+1 -1
View File
@@ -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 = GeoAppState.instance.project.Origin;
tmpdata.origin = State.instance.project.Origin;
tmpdata.MapSize = props.MapSize;
tmpdata.MapScale = props.MapScale;
}