don’t duplicate defaults in renderers
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user