Close polygon in modify-feature example.
This commit is contained in:
1 parent
1f30a5f40d
commit
8a4fba360b
1 file changed
+3
-1
@@ -148,7 +148,9 @@ var vectorSource = new ol.source.GeoJSON(
|
||||
},
|
||||
{
|
||||
'type': 'Polygon',
|
||||
'coordinates': [[[1e6, -6e6], [2e6, -4e6], [3e6, -6e6]]]
|
||||
'coordinates': [
|
||||
[[1e6, -6e6], [2e6, -4e6], [3e6, -6e6], [1e6, -6e6]]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user