51CTO HarmonyOS Developer Community
Aug 24, 2026 · Mobile Development
HarmonyOS 7 Reverse Geocoding Empty Result? Fix GCJ02 to WGS84 Conversion
This article solves a HarmonyOS 7 issue where getAddressesFromLocation returns an empty array without errors, revealing the root cause is a coordinate system mismatch: Map Kit provides GCJ02 coordinates while the geocoding API requires WGS84, and provides a conversion algorithm and complete implementation.
GCJ02HarmonyOSMap Kit
0 likes · 16 min read
