Skip to main content

What's Here?

Location: src/screens/WhatHereScreen.tsx

Uses the SSMap.whatHere() reverse-geocoding API to fetch full address details for any tapped coordinate.


Reverse geocode a coordinate​

const pos = [lng, lat] as [number, number];
const result = await SSMap.whatHere(pos);

if (Array.isArray(result) && result.length > 0) {
const addressStr = `${result[0].Road}, ${result[0].District}, ${result[0].State}`;
setAddress(addressStr);
}

See also: React Native Map SDK overview.