3.0 KiB
Description:
高德地图 JSAPI v2.0 (WebGL) 开发技能,涵盖地图生命周期管理、强制安全配置、3D 视图控制、覆盖物绘制及 LBS 服务集成。
This skill is ready for commercial/non-commercial use.
Publisher:
License/Terms of Use:
MIT-0
Use Case:
Developers and engineers use this skill to generate and verify Gaode Maps JSAPI v2.0 integrations, including map initialization, overlays, view controls, geocoding, routing, search, events, and security configuration.
Deployment Geography for Use:
Global
Known Risks and Mitigations:
Risk: AMap keys and AMAP_SECURITY_JS_CODE are sensitive credentials that can be exposed if generated code hardcodes them in frontend source or version control.
Mitigation: Use environment variables for development, use a backend serviceHost proxy in production, restrict key permissions, monitor usage, and rotate keys when exposure is suspected.
Risk: Geolocation, reverse geocoding, routing, and POI workflows can process user location data.
Mitigation: Collect explicit user consent, document privacy handling, minimize retained location data, and avoid enabling location features unless the application needs them.
Risk: Generated JSAPI examples may fail or consume quota when credentials, plugin declarations, service permissions, or security configuration are incomplete.
Mitigation: Verify generated code against the bundled references, load only required plugins, check service permissions, and test map loading before deployment.
Reference(s):
- ClawHub Skill Page
- Gaode Maps Developer Homepage
- Skill Overview
- Security Configuration
- Map Initialization
- Markers
- Vector Graphics
- Geocoder
- Routing
- Search
- Geolocation API Reference
Skill Output:
Output Type(s): [text, markdown, code, configuration, guidance]
Output Format: [Markdown with JavaScript, HTML, CSS, proxy configuration, and framework examples]
Output Parameters: [1D]
Other Properties Related to Output: [Outputs may reference AMAP_JSAPI_KEY and AMAP_SECURITY_JS_CODE and should be checked against the bundled JSAPI references before use.]
Skill Version(s):
1.1.1 (source: server release evidence and skill frontmatter)
Ethical Considerations:
Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.