开发 Maps SDK for iOS Guides Utility Library Coordinate Conversion

Coordinate Conversion 最后更新时间: 2026年07月02日

The iOS Map SDK provides coordinate conversion methods in AMapFoundationKit.h. For detailed API references, see AMapFoundationKit.h.

The SDK supports converting coordinates from multiple coordinate systems — including iOS built-in GPS, Google, MapBar, Baidu, and MapABC — to AMap coordinates. The following example demonstrates GPS coordinate conversion:

// Convert GPS coordinates to AMap coordinates
CLLocationCoordinate2D amapcoord = AMapCoordinateConvert(CLLocationCoordinate2DMake(39.989612, 116.480972), AMapCoordinateType);
返回顶部 示例中心 常见问题 智能客服 公众号
二维码