baidu-map-jsapi-gl
编写、修改、审查或调试百度地图浏览器前端代码时使用,覆盖 BMapGL / JSAPI WebGL 地图初始化、覆盖物、图层、事件、样式、交互和渲染性能。用户要求地图 HTML、前端组件、BMapGL 示例或排查浏览器地图问题时触发;不用于直接回答地点/路线/天气结果、服务端 WebAPI 代码或账户资源管理。
Skill by infometa
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/infometa-baidu-map-jsapi-gl
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/baidu-map-jsapi-gl
What's inside
- Skill name
baidu-map-jsapi-gl- Description
- 编写、修改、审查或调试百度地图浏览器前端代码时使用,覆盖 BMapGL / JSAPI WebGL 地图初始化、覆盖物、图层、事件、样式、交互和渲染性能。用户要求地图 HTML、前端组件、BMapGL 示例或排查浏览器地图问题时触发;不用于直接回答地点/路线/天气结果、服务端 WebAPI 代码或账户资源管理。
- License
- MIT
- Metadata
- openclaw.primaryEnv: BMAP_JSAPI_KEY
- Instructions
- 102 lines in SKILL.md · view on GitHub
Files (25)
- SKILL.md
- base-classes.md · references/
- circle.md · references/
- constants.md · references/
- convertor.md · references/
- custom-overlay.md · references/
- driving-route.md · references/
- geocoder.md · references/
- get-ak.md · references/
- info-window.md · references/
- local-search.md · references/
- map-events.md · references/
- map-init.md · references/
- map-style.md · references/
- marker.md · references/
- mvt-layer.md · references/
- overlay-common.md · references/
- overlay-events.md · references/
- polygon.md · references/
- polyline.md · references/
- riding-route.md · references/
- route-common.md · references/
- transit-route.md · references/
- walking-route.md · references/
- xyz-layer.md · references/
SKILL.md (first lines)
# JSAPI GL 开发指南 百度地图 JSAPI WebGL 版本开发指南。包含地图初始化、覆盖物、事件、图层等核心模块的 API 说明和代码示例,旨在帮助开发者快速集成百度地图并遵循正确的使用方式。 ## 边界与版本 - 本 skill 只负责浏览器前端代码。直接获取地点、路线、地址或天气答案时使用 `baidu-map`(本连接器 MCP 工具);服务端调用代码使用 `baidu-map-webapi`。 - 默认使用 BMapGL:加载 `https://api.map.baidu.com/api?v=1.0&type=webgl&...`,命名空间为 `BMapGL`。 - 仅当用户明确要求 JSAPI 3.0,或现有项目已经使用 3.0 时,才沿用 `BMapJS`。不得在同一实现中混用 `BMapGL` 与 `BMapJS`。 ## AK 来源 本 skill 需要**浏览器端 AK**: 1. 优先读取环境变量 `BMAP_JSAPI_KEY`。 2. 无值时,按 `references/get-ak.md` 引导用户在控制台创建浏览器端 AK,**不要**自行编造或复用服务端 AK。 3. 需要个性化底图样式时,`style_id` 只能由用户在开放平台控制台创建后提供,不得猜测。 若用户只要求审查代码、解释 API 或提供不执行的结构示例,且任务不需要真实运行,不要为了填充示例而创建 AK。交付可运行页面时不得写入假 AK 或遮掩后的 AK。 ## 何时适用 在以下场景中参考这些指南: - 创建新的地图页面或组件 - 在地图上添加标注、折线、多边形等覆盖物 - 处理地图交互事件(点击、拖拽、缩放等) - 配置地图样式或切换图层 - 调试地图渲染或性能问题 ## 快速参考 ### 0. 基础概念 - `references/base-classes.md` - 基础类:Point、Bounds、Size、Pixel、Icon - `references/constants.md` - 通用常量:搜索状态码、POI 类型 ### 1. 地图 - `references/map-init.md` - 地图初始化:资源引入、创建实例、配置选项、交互与视图控制 ### 2. 地图覆盖物 - `references/overlay-common.md` - 覆盖物通用操作:添加/移除、显示/隐藏、批量清除 - `references/marker.md` - 点标记:构造参数、位置/图标/旋转/置顶/拖拽方法 - `references/polyline.md` - 折线:构造参数、线条样式、坐标操作、编辑模式 - `references/polygon.md` - 多边形:构造参数、边框/填充样式、带孔多边形、编辑模式 - `references/circle.md` - 圆形:构造参数、中心点/半径、样式设置、编辑模式 - `references/custom-overlay.md` - 自定义覆盖物:DOM 创建、属性传递、事件绑定、旋转控制 - `references/info-window.md` - 信息窗口:构造参数、内容/尺寸设置、最大化、与 Marker 配合使用 ### 3. 事件 - `references/map-events.md` - 地图事件:绑定方式、交互事件、视图变化事件、生命周期事件 - `references/overlay-events.md` - 覆盖物事件:通用事件、拖拽事件、矢量图形事件 ### 4. 地图样式 - `references/map-style.md` - 个性化地图:自定义地图外观(颜色、显隐),实现深色主题、简洁地图等效果 ### 5. 图层服务 - `references/xyz-layer.md` - 第三方图层:加载 XYZ/TMS/WMS/WMTS 标准瓦片 - `references/mvt-layer.md` - 矢量瓦片:加载 MVT/PBF 格式瓦片,支持样式表达式、特征交互、状态管理 ### 6. 路径规划 - `references/route-common.md` - 通用配置:构造参数、渲染选项、回调函数、数据结构、状态常量 - `references/driving-route.md` - 驾车:策略枚举、途经点、路况、收费、拖拽 - `references/walking-route.md` - 步行:转向类型、拖拽 - `references/riding-route.md` - 骑行:骑行搜索 - `references/transit-route.md` - 公交:市内/跨城策略、交通方式、换乘 ### 7. 其他LBS服务 - `references/local-search.md` - 本地检索:普通/范围/周边检索、结果处理、翻页、POI 数据结构 - `references/geocoder.md` - 地理编码:正地理编码(地址→坐标)、逆地理编码(坐标→地址) - `references/convertor.md` - 坐标转换:GPS/高德/谷歌坐标转百度坐标 ## 文档使用顺序 1. 常用且稳定的实现模式先读取上面的本地 `references/` 文件。 2. 本地 reference 未覆盖的精确参数、返回字段、限制、错误码或版本差异,明确告知用户需以百度地图开放平台官方文档为准。不得用未经核实的记忆补齐精确字段。 参考文件路径相对于本 `SKILL.md`: ``` references/map-init.md ``` 每个参考文件包含: - 功能简要说明 - 完整代码示例及解释 - API 参数说明和注意事项 ## AK 故障排查 - `references/get-ak.md` - 当浏览器端 AK 缺失、失效或白名单不匹配时读取
From infometa/workbuddyskills, MIT.
More from infometa/workbuddyskills
- 0.798score
edgeone-pages
edgeone
EdgeOne Makers / EdgeOne Pages platform development router — the single entry point for building, storing data, and deploying on Tencent EdgeOne Makers.
SkillAFreshness: A★ 382Claude Code +9 - 0.597score
baidu-map-webapi
infometa
编写、修改、审查或调试百度地图服务端 WebAPI 调用代码时使用,涵盖 POI 检索、路线规划、出发时间与耗时预测、交通事件、行政区划、地址坐标转换、天气和上车点等接口。用户要求 Node.js、Python、后端服务、curl 集成示例或排查 WebAPI…
SkillAFreshness: A★ 382Claude Code +9 - 0.597score
baidu-ai-map
infometa
使用百度地图 Agent Plan 直接完成普通或复杂的地理任务,包括语义化地点检索、路线规划、地理编码与逆地理编码、天气查询。仅在已配置环境变量 BAIDU_MAP_AUTH_TOKEN,或本连接器的 baidu-map MCP 工具(map_*)无法满足需求时使用;普通地点、路线、地址、天气问题默认使用…
SkillAFreshness: A★ 382Claude Code +9 - 0.596score
cloudbase
infometa
Use this skill when you develop, design, build, deploy, debug, migrate, or troubleshoot CloudBase (腾讯云开发, 云开发, TCB, 微信云开发) projects — Web, 微信小程序, 小程序…
SkillAFreshness: A★ 382Claude Code +9 - 0.595score
bx-leads-profile
infometa
Read a Baixyn company profile, run its own company analysis, adopt selected website, overview, products, industries or business areas, and save only requested…
SkillAFreshness: A★ 382Claude Code +9 - 0.595score
dramabuddy
infometa
用户要求生成图片、视频,或制作漫剧/漫画剧/短剧,或消息中出现 dramabuddy / /dramabuddy / 阅文漫剧助手 —— 必须加载本 Skill:所有此类请求必须走 dramabuddy 画布 MCP 流程;dramabuddy 工具可用时禁止使用内置 ImageGen / VideoGen…
SkillAFreshness: A★ 382Claude Code +9 - 0.595score
tencent-es-diagnose
infometa
Use when 用户要求分析、诊断、巡检腾讯云 ES(Elasticsearch Service)集群,或提到集群 Red/Yellow、CPU 高、JVM OOM、GC 频繁、写入拒绝、查询慢、磁盘告警、集群只读、Master 过载、分片未分配、节点重启、集群变更记录、查看运行日志/慢日志/GC…
SkillAFreshness: A★ 382Claude Code +9 - 0.595score
resume-diagnosis
infometa
用于诊断、评审或评分整份简历。当用户要求「诊断简历」「简历有什么问题」「看看简历哪里要改」「简历打分」「评审简历」「resume review」,或上传 PDF/DOCX 并要求分析问题、给出评分或修改建议时触发。输出 3 类诊断(NO_DATA / NO_FILL / DESCRIPTION_SUGGEST)和…
SkillAFreshness: A★ 382Claude Code +9 - 0.595score
bx-leads-prospecting
infometa
Prepare Baixyn buyer routes, select a combined lead quantity, quote and start a search requested by the user within its disclosed credit limit, then read…
SkillAFreshness: A★ 382Claude Code +9 - 0.595score
beisen-data-query
infometa
北森 HR 通用数据查询引擎。本 Skill 通过 beisen-cli staffservice 子命令集(sceneTool / searchFormTool / businessDataTool,以及 sceneToolMessageForCLI、menuSearch)实现自然语言到业务数据的 6…
SkillAFreshness: A★ 382Claude Code +9 - 0.595score
candao-review-expert-analysis-prod
infometa
Generate evidence-based Chinese delivery-review reports from the installed Candao AGE connector.
SkillAFreshness: A★ 382Claude Code +9 - 0.595score
case-search
infometa
本技能用于检索、核验、筛选、比较或总结中国司法案例、判例、判决、裁定、裁判文书、裁判要旨、裁判观点和法院倾向,可完成案情分析、类案检索、全文阅读、补充检索、真实性核验、关联度排序和裁判理由摘要。…
SkillAFreshness: A★ 382Claude Code +9
Signals
- Stars
- 382
- Forks
- 126
- Open issues
- 0
- Last commit (this folder)
- Oct 20, 2026 (7 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/infometa/workbuddyskills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from infometa
- 0.597score
baidu-ai-map
infometa
使用百度地图 Agent Plan 直接完成普通或复杂的地理任务,包括语义化地点检索、路线规划、地理编码与逆地理编码、天气查询。仅在已配置环境变量 BAIDU_MAP_AUTH_TOKEN,或本连接器的 baidu-map MCP 工具(map_*)无法满足需求时使用;普通地点、路线、地址、天气问题默认使用…
SkillAFreshness: A★ 382Claude Code +9 - 0.597score
baidu-map-webapi
infometa
编写、修改、审查或调试百度地图服务端 WebAPI 调用代码时使用,涵盖 POI 检索、路线规划、出发时间与耗时预测、交通事件、行政区划、地址坐标转换、天气和上车点等接口。用户要求 Node.js、Python、后端服务、curl 集成示例或排查 WebAPI…
SkillAFreshness: A★ 382Claude Code +9 - 0.596score
cloudbase
infometa
Use this skill when you develop, design, build, deploy, debug, migrate, or troubleshoot CloudBase (腾讯云开发, 云开发, TCB, 微信云开发) projects — Web, 微信小程序, 小程序…
SkillAFreshness: A★ 382Claude Code +9 - 0.595score
bx-leads-prospecting
infometa
Prepare Baixyn buyer routes, select a combined lead quantity, quote and start a search requested by the user within its disclosed credit limit, then read…
SkillAFreshness: A★ 382Claude Code +9 - 0.595score
resume-diagnosis
infometa
用于诊断、评审或评分整份简历。当用户要求「诊断简历」「简历有什么问题」「看看简历哪里要改」「简历打分」「评审简历」「resume review」,或上传 PDF/DOCX 并要求分析问题、给出评分或修改建议时触发。输出 3 类诊断(NO_DATA / NO_FILL / DESCRIPTION_SUGGEST)和…
SkillAFreshness: A★ 382Claude Code +9 - 0.595score
bx-leads-profile
infometa
Read a Baixyn company profile, run its own company analysis, adopt selected website, overview, products, industries or business areas, and save only requested…
SkillAFreshness: A★ 382Claude Code +9
Cite this page
baidu-map-jsapi-gl skill. Agent Mart. https://agentmart.dev/skills/infometa-baidu-map-jsapi-gl (last updated 2026-10-24)