amap-map-google-maps-migration
AMap Map Google Maps Migration Skill
Guides developers migrating from Google Maps Platform to AMap (高德地图). Covers Web Service APIs (14 endpoints), JavaScript API, and mobile SDK (Android/iOS).
Core Philosophy / 核心设计理念
AMap and Google Maps share the same imperative, object-oriented design. Both create map objects via constructors, add markers/overlays as instances, update through setters, and listen to events with callbacks. Migration does NOT require an architecture change — it is primarily a matter of swapping API and SDK calls with corresponding AMap equivalents, and adapting the related methods and calling conventions.
高德与 Google Maps 采用相同的命令式、面向对象设计。迁移不需要架构变更——主要工作是将 API 和 SDK 调用替换为高德对应接口,并适配相关方法与调用方式。
Interactive Migration Flow / 交互式迁移流程
You MUST follow this 3-step flow:
Step 1: Ask Developer Region / 确认区域
Ask: "Are you a Mainland China developer or a Non-Mainland developer?"