docs/examples/libs/leaflet.snap.js
function computeBuffer() {
            this._buffer = map.layerPointToLatLng(new L.Point(0,0)).lat -
                           map.layerPointToLatLng(new L.Point(this.options.snapDistance, 0)).lat;
        }
function computeBuffer() {
            this._buffer = map.layerPointToLatLng(new L.Point(0,0)).lat -
                           map.layerPointToLatLng(new L.Point(this.options.snapDistance, 0)).lat;
        }
function computeBuffer ( ) { this . _buffer = map . layerPointToLatLng ( new L . Point ( 0 , 0 ) ) . lat - map . layerPointToLatLng ( new L . Point ( this . options . snapDistance , 0 ) ) . lat ; }
Convert snap distance in pixels into buffer in degres, for searching around mouse It changes at each zoom change.
Convert snap distance in pixels into buffer in degres for searching around mouse It changes at each zoom change .