← 返回 Skills 市场
Baidu Map JSAPI UI Kit(百度地图官方 JSAPI UI-Kit SKills)
作者
baidu-maps
· GitHub ↗
· v1.0.4
· MIT-0
116
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install baidu-map-jsapi-ui-kit
功能描述
百度地图官方 UI 交互组件,提供地点自动补全(PlaceAutocomplete)、地点检索(PlaceSearch)、地点详情(PlaceDetail)和路径规划(RoutePlan)组件的使用参考,快速实现地图界面,大幅提升开发效率。
使用说明 (SKILL.md)
百度地图 jsapi-ui-kit
轻量级百度地图 UI 组件库,提供地点自动补全、地点检索、详情展示和路径规划能力。
什么时候使用
- 希望快速集成标准化的地图 UI 组件,无需从零开发
- 需要在地图应用中添加搜索输入框自动补全功能
- 需要在地图应用中添加地点搜索功能
- 需要展示 POI 详情信息(名称、地址、电话等)
- 需要实现驾车路径规划功能(支持多方案、途经点)
文档导航
- 快速开始 - 安装、引入方式、基础示例
- PlaceAutocomplete 地点自动补全 - 搜索输入框实时建议
- PlaceSearch 地点检索 - 关键字/周边/范围检索
- PlaceDetail 地点详情 - POI 详情展示
- RoutePlan 路径规划 - 驾车路径规划(多方案、途经点、导航调起)
如何使用
根据用户问题查询文档导航,参考详细文档内容和API设计:
references/getting-started.md
每个参考文件包含:
- 功能简要说明
- 完整代码示例及解释
- API 参数说明和注意事项
注意事项
- 必须先加载百度地图 JS API(BMap 或 BMapGL)
安全使用建议
This skill appears to be documentation for Baidu Map JS UI components and asks only for your Baidu JS API key (BMAP_JSAPI_KEY), which is appropriate. Before installing or using it: (1) verify the package source/repository or homepage outside the skill (the skill metadata lacks a homepage/source URL) to ensure you are getting the official library; (2) avoid pasting your API key into public examples — keep it in a safe config and restrict its usage in Baidu console if possible; (3) prefer installing from an official npm scope or Baidu-hosted source and, if using CDN assets (unpkg/api.map.baidu.com), consider integrity checks (SRI) or pinned versions; (4) if you need higher assurance, request the skill author/publisher details or a link to the upstream repository to confirm authenticity.
功能分析
Type: OpenClaw Skill
Name: baidu-map-jsapi-ui-kit
Version: 1.0.4
The skill bundle provides documentation and API references for the Baidu Map JSAPI UI Kit, covering components like PlaceAutocomplete, PlaceSearch, PlaceDetail, and RoutePlan. All files (SKILL.md and the references directory) contain standard technical documentation, code snippets, and installation instructions consistent with a legitimate mapping integration. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
能力评估
Purpose & Capability
The skill is a documentation/instruction bundle for Baidu Map JSAPI UI components and declares a single env var BMAP_JSAPI_KEY (the JS API key/ak). That credential is directly relevant to using the Baidu Maps JS API described in the docs.
Instruction Scope
SKILL.md and the reference files only describe how to include the Baidu Maps JS API and the UI components, show example usage, and reference CDN/npm assets (api.map.baidu.com, unpkg.com). The instructions do not ask the agent to read unrelated files, access other credentials, or exfiltrate data.
Install Mechanism
This is instruction-only (no install spec, no code). Examples reference installing via npm or loading from CDN (unpkg). Loading remote JS/CSS from CDNs is expected for a web UI kit but carries the usual supply-chain risks — however no installer or arbitrary download URL is included in the skill itself.
Credentials
Only one environment variable is required (BMAP_JSAPI_KEY) and it is the expected credential for Baidu Maps JS API usage. No other secrets or unrelated env vars are requested.
Persistence & Privilege
Skill does not request always:true or any special persistent privileges; it is user-invocable and can be invoked autonomously (platform default), which is normal. The skill contains only docs and does not modify other skills or system settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install baidu-map-jsapi-ui-kit - 安装完成后,直接呼叫该 Skill 的名称或使用
/baidu-map-jsapi-ui-kit触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
- Updated documentation with detailed usage instructions and component references.
- Clarified required environment variable: BMAP_JSAPI_KEY.
- Added guidance on when and how to use each UI component (PlaceAutocomplete, PlaceSearch, PlaceDetail, RoutePlan).
- Provided direct navigation links to reference documents for easier access.
v1.0.2
更新slug name,添加百度地图前缀
元数据
常见问题
Baidu Map JSAPI UI Kit(百度地图官方 JSAPI UI-Kit SKills) 是什么?
百度地图官方 UI 交互组件,提供地点自动补全(PlaceAutocomplete)、地点检索(PlaceSearch)、地点详情(PlaceDetail)和路径规划(RoutePlan)组件的使用参考,快速实现地图界面,大幅提升开发效率。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 116 次。
如何安装 Baidu Map JSAPI UI Kit(百度地图官方 JSAPI UI-Kit SKills)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install baidu-map-jsapi-ui-kit」即可一键安装,无需额外配置。
Baidu Map JSAPI UI Kit(百度地图官方 JSAPI UI-Kit SKills) 是免费的吗?
是的,Baidu Map JSAPI UI Kit(百度地图官方 JSAPI UI-Kit SKills) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Baidu Map JSAPI UI Kit(百度地图官方 JSAPI UI-Kit SKills) 支持哪些平台?
Baidu Map JSAPI UI Kit(百度地图官方 JSAPI UI-Kit SKills) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Baidu Map JSAPI UI Kit(百度地图官方 JSAPI UI-Kit SKills)?
由 baidu-maps(@lbs-bmap)开发并维护,当前版本 v1.0.4。
推荐 Skills