Merge pull request #3230 from pgiraud/collection_editing_style

Add stroke to default editing style for geometry collections
This commit is contained in:
Pierre GIRAUD
2015-08-18 11:05:12 +02:00

View File

@@ -347,6 +347,7 @@ ol.style.createDefaultEditingStyles = function() {
styles[ol.geom.GeometryType.GEOMETRY_COLLECTION] =
styles[ol.geom.GeometryType.POLYGON].concat(
styles[ol.geom.GeometryType.LINE_STRING],
styles[ol.geom.GeometryType.POINT]
);