Only call dashStyle when strokeDashstyle is set. r=tschaub (closes #2768)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10621 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2010-08-15 19:53:14 +00:00
parent 5a8775cd16
commit 9ae54040db
6 changed files with 8 additions and 8 deletions
-2
View File
@@ -345,7 +345,6 @@ OpenLayers.Renderer = OpenLayers.Class({
* strokeColor: "#000000",
* strokeOpacity: 1,
* strokeWidth: 1,
* strokeDashstyle: "solid",
* pointRadius: 3,
* graphicName: "square"
* };
@@ -357,7 +356,6 @@ OpenLayers.Renderer.defaultSymbolizer = {
strokeWidth: 2,
fillOpacity: 1,
strokeOpacity: 1,
strokeDashstyle: "solid",
pointRadius: 0
};