[OpenLayers-Users] Does OL3 have a click handler pixelTolerance setting?

Derek Watling derek at cmainfo.co.za
Tue Mar 1 00:29:44 PST 2016


In OpenLayers 2 one can specify a *pixelTolerance* setting in the Click
handler. If the map is moved by less than or equal to this value a click
event is also fired.

OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
    defaultHandlerOptions: {
        'pixelTolerance': 20,
        ...
    },
    ...
}

Question: Is there anything similar in OpenLayers 3?



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Does-OL3-have-a-click-handler-pixelTolerance-setting-tp5253535.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list