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:
ahocevar
2011-11-30 20:36:54 +01:00
parent 92cfa0e4ed
commit c311aa69ea

View File

@@ -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
})
);
}