Add lineCap property to ol.style.Stroke

This commit is contained in:
Frederic Junod
2013-11-28 09:35:13 +01:00
parent 2211aec553
commit b210073ef0
6 changed files with 49 additions and 2 deletions

View File

@@ -130,6 +130,7 @@ var tmpPointFeature = new ol.Feature(
var tmpStyle = new ol.style.Style({
stroke: new ol.style.Stroke({
color: 'magenta',
lineCap: 'round',
width: 5
}),
image: ol.shape.renderCircle(5,