(e: TouchEvent)
| 70 | useEffect(() => { |
| 71 | const container = map.getContainer(); |
| 72 | const handleTouchStart = (e: TouchEvent) => { |
| 73 | if (!isDrag && e.touches.length > 0) { |
| 74 | const touch = e.touches[0]; |
| 75 | const latlng = map.mouseEventToLatLng(touch as any); |
| 76 | setFirstPoint(latlng); |
| 77 | } |
| 78 | }; |
| 79 | |
| 80 | const handleTouchMove = (e: TouchEvent) => { |
| 81 | if (firstPoint && e.touches.length > 0) { |
nothing calls this directly
no outgoing calls
no test coverage detected