MCPcopy Create free account
hub / github.com/react-native-maps/react-native-maps / getAddressFromCoordinates

Function getAddressFromCoordinates

src/createFabricMap.tsx:90–101  ·  view source on GitHub ↗
(coordinate: LatLng)

Source from the content-addressed store, hash-verified

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));

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…