(coordinate: LatLng)
| 88 | } |
| 89 | }, |
| 90 | async getAddressFromCoordinates(coordinate: LatLng) { |
| 91 | if (fabricRef.current) { |
| 92 | return NativeAirMapsModule.getAddressFromCoordinates( |
| 93 | node, |
| 94 | coordinate, |
| 95 | ); |
| 96 | } else { |
| 97 | throw new Error( |
| 98 | 'getAddressFromCoordinates is not supported on this platform', |
| 99 | ); |
| 100 | } |
| 101 | }, |
| 102 | async takeSnapshot(config: SnapshotOptions) { |
| 103 | if (fabricRef.current) { |
| 104 | return NativeAirMapsModule.takeSnapshot(node, JSON.stringify(config)); |
nothing calls this directly
no test coverage detected
searching dependent graphs…