Close polygon in modify-feature example.

This commit is contained in:
Marc Jansen
2014-03-07 10:07:47 +01:00
parent 1f30a5f40d
commit 8a4fba360b

View File

@@ -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]]
]
}
]
}