don’t duplicate defaults in renderers

This commit is contained in:
Antoine Abt
2012-01-05 10:26:05 +01:00
parent 0ff9d54d5c
commit 5be7e7f844
5 changed files with 23 additions and 12 deletions

View File

@@ -447,7 +447,11 @@ OpenLayers.Feature.Vector.style = {
hoverPointRadius: 1,
hoverPointUnit: "%",
pointerEvents: "visiblePainted",
cursor: "inherit"
cursor: "inherit",
fontColor: "#000000",
labelAlign: "cm",
labelOutlineColor: "white",
labelOutlineWidth: 3
},
'select': {
fillColor: "blue",
@@ -466,7 +470,12 @@ OpenLayers.Feature.Vector.style = {
hoverPointRadius: 1,
hoverPointUnit: "%",
pointerEvents: "visiblePainted",
cursor: "pointer"
cursor: "pointer",
fontColor: "#000000",
labelAlign: "cm",
labelOutlineColor: "white",
labelOutlineWidth: 3
},
'temporary': {
fillColor: "#66cccc",
@@ -485,7 +494,12 @@ OpenLayers.Feature.Vector.style = {
hoverPointRadius: 1,
hoverPointUnit: "%",
pointerEvents: "visiblePainted",
cursor: "inherit"
cursor: "inherit",
fontColor: "#000000",
labelAlign: "cm",
labelOutlineColor: "white",
labelOutlineWidth: 3
},
'delete': {
display: "none"