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.
_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to