mirror of
https://github.com/bvanroll/cs-map-project.git
synced 2025-08-30 04:12:45 +00:00
refactor start
This commit is contained in:
@@ -41,9 +41,10 @@ namespace opdracht2
|
||||
OpenFileDialog openFileDialog = new OpenFileDialog();
|
||||
if (openFileDialog.ShowDialog() == true)
|
||||
{
|
||||
Tuple<List<Polygon>, List<Ellipse>> t = GeoJsonParser.TriangulateJsonData(File.ReadAllText(openFileDialog.FileName), c.Width, c.Height);
|
||||
f = t.Item1;
|
||||
el = t.Item2;
|
||||
//TODO remove
|
||||
//Tuple<List<Polygon>, List<Ellipse>> t = GeoJsonParser.TriangulateJsonData(File.ReadAllText(openFileDialog.FileName), c.Width, c.Height);
|
||||
f = GeoJsonParser.TriangulateJsonData(File.ReadAllText(openFileDialog.FileName), c.Width, c.Height);
|
||||
el = new List<Ellipse>();
|
||||
}
|
||||
var st = new ScaleTransform();
|
||||
c.RenderTransform = st;
|
||||
|
Reference in New Issue
Block a user