Back to skills
extension
Category: Development & EngineeringNo API key required

jsapi-ui-kit

Baidu Map JavaScript API ui-kit component library development guide. It provides usage references for components such as Place Autocomplete, Place Search, Place Detail, and Route Plan. This skill is used when users need to: (1) implement auto-complete for location search input, (2) enable location search functionality on Baidu Maps, (3) display POI detail information, (4) implement driving route planning, (5) understand the API usage of @baidumap/jsapi-ui-kit, and (6) handle component event callbacks.

personAuthor: jakexiaohubgithub

百度地图 jsapi-ui-kit

轻量级百度地图 UI 组件库,提供地点自动补全、地点检索、详情展示和路径规划能力。

什么时候使用

  • 希望快速集成标准化的地图 UI 组件,无需从零开发
  • 需要在地图应用中添加搜索输入框自动补全功能
  • 需要在地图应用中添加地点搜索功能
  • 需要展示 POI 详情信息(名称、地址、电话等)
  • 需要实现驾车路径规划功能(支持多方案、途经点)

文档导航

如何使用

根据用户问题查询文档导航,参考详细文档内容和API设计:

references/getting-started.md

每个参考文件包含:

  • 功能简要说明
  • 完整代码示例及解释
  • API 参数说明和注意事项

注意事项

  • 必须先加载百度地图 JS API(BMap 或 BMapGL)