(e)
| 48 | } |
| 49 | }, |
| 50 | mousemove(e) { |
| 51 | if (firstPoint) { |
| 52 | lastLatlngRef.current = adjustLng(e.latlng); |
| 53 | onDrawChange(new L.LatLngBounds(firstPoint, e.latlng)); |
| 54 | onChange( |
| 55 | new L.LatLngBounds(adjustLng(firstPoint), adjustLng(e.latlng)) |
| 56 | ); |
| 57 | } |
| 58 | }, |
| 59 | mouseup(e) { |
| 60 | if (firstPoint) { |
| 61 | onDrawChange(new L.LatLngBounds(firstPoint, e.latlng)); |
nothing calls this directly
no test coverage detected