mirror of
https://github.com/bvanroll/cs-map-project.git
synced 2025-08-29 20:02:43 +00:00
nog rare dinge, ma tga beter of normaal
This commit is contained in:
@@ -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;
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user