Merge pull request #1817 from marcjansen/fix-modify-example
Close polygon in modify-feature example.
This commit is contained in:
@@ -148,7 +148,9 @@ var vectorSource = new ol.source.GeoJSON(
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'type': 'Polygon',
|
'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