src/DistanceGrid.js
function (obj, point) {
		var x = this._getCoord(point.x),
		    y = this._getCoord(point.y),
		    grid = this._grid,
		    row = grid[y] = grid[y] || {},
		    cell = row[x] = row[x] || [],
		    i, len;

		delete this._objectPoint[L.Util.stamp(obj)];

		for (i = 0, len = cell.length; i < len; i++) {
			if (cell[i] === obj) {

				cell.splice(i, 1);

				if (len === 1) {
					delete row[x];
				}

				return true;
			}
		}

	}
function (obj, point) {
		var x = this._getCoord(point.x),
		    y = this._getCoord(point.y),
		    grid = this._grid,
		    row = grid[y] = grid[y] || {},
		    cell = row[x] = row[x] || [],
		    i, len;

		delete this._objectPoint[L.Util.stamp(obj)];

		for (i = 0, len = cell.length; i < len; i++) {
			if (cell[i] === obj) {

				cell.splice(i, 1);

				if (len === 1) {
					delete row[x];
				}

				return true;
			}
		}

	}
function ( obj , point ) { var x = this . _getCoord ( point . x ) , y = this . _getCoord ( point . y ) , grid = this . _grid , row = grid [ y ] = grid [ y ] || { } , cell = row [ x ] = row [ x ] || [ ] , i , len ; delete this . _objectPoint [ L . Util . stamp ( obj ) ] ; for ( i = 0 , len = cell . length ; i < len ; i ++ ) { if ( cell [ i ] === obj ) { cell . splice ( i , 1 ) ; if ( len === 1 ) { delete row [ x ] ; } return true ; } } }
Returns true if the object was found
Returns true if the object was found