nog rare dinge, ma tga beter of normaal

This commit is contained in:
BuildTools
2020-07-29 17:31:07 +02:00
parent 824860dc58
commit 9f1da145a0
56 changed files with 289 additions and 47 deletions

View File

@@ -21,11 +21,11 @@ namespace Datalaag
{
switch (feature["geometry"]["type"].ToString())
{
case "MultiPolygon":
case "Polygon":
_polygons.Add(new PolygonPunten(JsonConvert.DeserializeObject<Polygon>(feature["geometry"]
.ToString()), feature["properties"]["name"].ToString()));
break;
case "Polygon":
case "MultiPolygon":
_multiPolygons.Add(new MultiPolygonPunten(JsonConvert.DeserializeObject<MultiPolygon>
(feature["geometry"].ToString()), feature["properties"]["name"].ToString()));
break;