Default pixel tolerance of 2.
This avoids requests to be aborted during hover due to the cursor change caused in some browsers by applying the olCursorWait class.
This commit is contained in:
1 parent
92cfa0e4ed
commit
c311aa69ea
1 file changed
+2
-1
@@ -232,7 +232,8 @@ OpenLayers.Control.GetFeature = OpenLayers.Class(OpenLayers.Control, {
|
||||
this.handlers.hover = new OpenLayers.Handler.Hover(
|
||||
this, {'move': this.cancelHover, 'pause': this.selectHover},
|
||||
OpenLayers.Util.extend(this.handlerOptions.hover, {
|
||||
'delay': 250
|
||||
'delay': 250,
|
||||
'pixelTolerance': 2
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user