bmap-jsapi-gl SKILL.md skillA

bmap-jsapi-gl from baidu-maps/jsapi-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add baidu-maps/jsapi-skills/bmap-jsapi-gl@v1.0.1

Pins v1.0.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
baidu-maps/jsapi-skills
Path
skills/bmap-jsapi-gl/SKILL.md
Versions recorded
5
Latest version
v1.0.1, committed Apr 3, 2026
First version recorded
Mar 13, 2026
Size
3,877 bytes
Repository stars
46
License
none declared

百度地图 JSAPI WebGL (BMapGL)完整开发指南,覆盖地图初始化、覆盖物、图层、事件、样式、性能优化的任务,一站式开发高性能 3D 地图应用。当用户提及 BMapGL、百度地图、jsapi-gl或相关地图开发需求时自动触发。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# JSAPI GL 开发指南

百度地图 JSAPI WebGL 版本开发指南。包含地图初始化、覆盖物、事件、图层等核心模块的 API 说明和代码示例,旨在帮助开发者快速集成百度地图并遵循正确的使用方式。

## 何时适用

在以下场景中参考这些指南:

- 创建新的地图页面或组件
- 在地图上添加标注、折线、多边形等覆盖物
- 处理地图交互事件(点击、拖拽、缩放等)
- 配置地图样式或切换图层
- 调试地图渲染或性能问题

## 快速参考

### 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 格式瓦片,支持样式表达式、特征交互、状态管理
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add baidu-maps/jsapi-skills/bmap-jsapi-gl@sha256:591186db430a8e75

The line at the top of this page pins the label v1.0.1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7jgacim2mfmyeic4.svg)](https://markdownregistry.com/a/art_7jgacim2mfmyeic4)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Mar 13, 2026 and Apr 3, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
v1.0.1 latest2026-04-03 347d663 3,877 BA view · diff
v1.0.12026-03-27 11c458a 3,944 BA view · diff
v1.0.02026-03-27 2d63428 3,944 BA view · diff
v1.0.12026-03-16 8787fd6 3,804 BA view · diff
v1.0.02026-03-13 e3292e8 3,804 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3877 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

baidu-maps/jsapi-skills · 46 stars · license none declared · pushed 2026-09-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7jgacim2mfmyeic4
GET https://markdownregistry.com/api/v1/resolve?ref=baidu-maps/jsapi-skills/bmap-jsapi-gl
GET https://markdownregistry.com/api/v1/blob/591186db430a8e7546bdb20d4f0cd7de86194c7c018991d5a51289b17517e17e

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from baidu-maps/jsapi-skills

bmap-jsapi-three SKILL.md skill
baidu-maps/jsapi-skills · skills/bmap-jsapi-three/SKILL.md · 使用 MapV-Three 构建专业的 3D 地图和 GIS 应用 - 基于 Z-up 坐标系的 3D 地图库,支持地图编辑、测量工具、要素绘制、数据管理等地理可视化功能。适用于创建地图编辑器、测量工具、空间数据可视化等 Web-GIS…
v1.0.1 · audit A · 46 stars
bmap-jsapi-v4 SKILL.md skill
baidu-maps/jsapi-skills · skills/bmap-jsapi-v4/SKILL.md · 用于开发、审查或排查使用百度地图 JavaScript API 4.0、v=4.0 加载器或全局 BMap 命名空间的浏览器应用。
git:20260907.46682ee · audit A · 46 stars
jsapi-ui-kit SKILL.md skill
baidu-maps/jsapi-skills · skills/jsapi-ui-kit/SKILL.md · 百度地图官方 UI 交互组件,提供地点自动补全(PlaceAutocomplete)、地点检索(PlaceSearch)、地点详情(PlaceDetail)和路径规划(RoutePlan)组件的使用参考,快速实现地图界面,大幅提升开发效率。
v1.0.1 · audit A · 46 stars

Every file in baidu-maps/jsapi-skills

Browse by kind, by grade A, or by owner.