This commit fixes this: once a feature's been selected the "pointer" cursor is

always used when going over it. r=crschmidt (closes #1217)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@5909 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2008-01-27 14:26:28 +00:00
parent 5f3e05bb5e
commit bd07adbb10
3 changed files with 7 additions and 4 deletions

View File

@@ -279,6 +279,7 @@ OpenLayers.Feature.Vector = OpenLayers.Class(OpenLayers.Feature, {
* - hoverPointRadius: 1,
* - hoverPointUnit: "%",
* - pointerEvents: "visiblePainted"
* - cursor: ""
*
* Other style properties that have no default values:
*
@@ -306,7 +307,8 @@ OpenLayers.Feature.Vector.style = {
pointRadius: 6,
hoverPointRadius: 1,
hoverPointUnit: "%",
pointerEvents: "visiblePainted"
pointerEvents: "visiblePainted",
cursor: ""
},
'select': {
fillColor: "blue",
@@ -341,6 +343,7 @@ OpenLayers.Feature.Vector.style = {
pointRadius: 6,
hoverPointRadius: 1,
hoverPointUnit: "%",
pointerEvents: "visiblePainted"
pointerEvents: "visiblePainted",
cursor: ""
}
};