The Amap JSAPI Skill gives an AI agent deep, version-specific knowledge of the Gaode Map (AMap) JavaScript SDK v2.0, allowing it to generate correct, ready-to-use HTML and JavaScript code for interactive mapping applications.
The skill covers the full AMapLoader initialization pattern, including 3D view mode setup, proper viewport configuration, and clean WebGL memory disposal via map.destroy(). Security is handled at the v2.0 level: the skill knows how to configure AMap_SECURITY_JS_CODE and set up proxy-based service hosts, avoiding the “Invalid Key” and “Security Check” errors that arise when these steps are skipped or misconfigured.
For visual output, the agent can produce LabelMarkers with collision detection, vector overlays including Polylines, Polygons, and Circles, and custom layers using Canvas, WMS, or Three.js. On the services side, the skill covers reverse geocoding, driving, walking, and transit route planning, POI search, and address input auto-completion.
Output takes the form of self-contained HTML/JavaScript snippets or full components using ES modules or script loaders, with all logic scoped to the workspace directory. This skill is not a live API client and does not make calls to Gaode servers at runtime; it supplies coding knowledge rather than executing map queries directly.