(onlyVisible: boolean)
| 61 | |
| 62 | useImperativeHandle(ref, () => ({ |
| 63 | async getMarkersFrames(onlyVisible: boolean) { |
| 64 | if (fabricRef.current) { |
| 65 | return NativeAirMapsModule.getMarkersFrames(node, onlyVisible); |
| 66 | } else { |
| 67 | throw new Error( |
| 68 | 'getMarkersFrames is only supported on iOS with Fabric.', |
| 69 | ); |
| 70 | } |
| 71 | }, |
| 72 | async getCoordinateForPoint(point: Point) { |
| 73 | if (fabricRef.current) { |
| 74 | return NativeAirMapsModule.getCoordinateForPoint(node, point); |
nothing calls this directly
no test coverage detected
searching dependent graphs…