#700: A small patch to let the user specify the linecap style of a feature.

Thanks, fredj! 


git-svn-id: http://svn.openlayers.org/trunk/openlayers@3204 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-05-30 13:07:45 +00:00
parent 2dd7a8d4b9
commit 4d553f5a38
3 changed files with 5 additions and 0 deletions

View File

@@ -206,6 +206,7 @@ OpenLayers.Feature.Vector.style = {
strokeColor: "#ee9900",
strokeOpacity: 1,
strokeWidth: 1,
strokeLinecap: "round",
hoverStrokeColor: "red",
hoverStrokeOpacity: 1,
hoverStrokeWidth: 0.2,
@@ -222,6 +223,7 @@ OpenLayers.Feature.Vector.style = {
strokeColor: "blue",
strokeOpacity: 1,
strokeWidth: 2,
strokeLinecap: "round",
hoverStrokeColor: "red",
hoverStrokeOpacity: 1,
hoverStrokeWidth: 0.2,
@@ -238,6 +240,7 @@ OpenLayers.Feature.Vector.style = {
hoverFillOpacity: 0.8,
strokeColor: "yellow",
strokeOpacity: 1,
strokeLinecap: "round",
strokeWidth: 4,
hoverStrokeColor: "red",
hoverStrokeOpacity: 1,