npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@x-humanoid-cloud/bic-map

v0.0.9

Published

GL地图库,室内外一体化的地图渲染与交互解决方案

Readme

BicMap 示例门户

BicMap(@x-humanoid-cloud/bic-map)是一套基于 WebGL 的地图渲染库,在 MapLibre GL + Three.js + Turf 之上做了面向机器人业务的二次封装,提供 室内 SLAM 地图、室外瓦片/高精地图、点云、3D 模型、POI 标注、绘制工具、路径规划与机器人编排 等开箱即用的能力。

BicMap 将 数据(GeoJSON / 点云 / 机器人位姿)映射为一组可组合的 图层与覆盖物,开发者通过统一的 bicMap 单例即可快速搭建室内外一体化的可视化场景,无需关心底层引擎的加载、坐标转换与资源托管细节。

核心特性:

  • 室内外一体化:SLAM 栅格地图、瓦片底图、高精地图、二三维点云、3D 模型同场景渲染
  • 丰富的覆盖物:方向标记、批量 POI、机器人标记、矩形/多边形/圆形/折线/宽线段
  • 交互式绘制:矩形、多边形、折线、圆形、可通行区域绘制与编辑
  • 机器人能力:位姿跟随、重定位、实时定位、路径规划与回放、任务编排
  • 引擎内置:maplibre-gl / three / @turf/turf / urdf-loader 通过 npm 静态打包,CSS 与字体运行时自动注入,零额外配置

安装方式

NPM Module

pnpm add @x-humanoid-cloud/bic-map
import bicMap from '@x-humanoid-cloud/bic-map'

await bicMap.init()

const map = bicMap.createMap({
  container: 'map',
  center: [116.397, 39.908],
  zoom: 16
})

作为 Vue 插件使用(可通过 this.$bicMap 访问):

import { createApp } from 'vue'
import bicMap from '@x-humanoid-cloud/bic-map'
import App from './App.vue'

createApp(App).use(bicMap).mount('#app')

Script Tag / CDN

适配 uniapp renderJS、<script> 直引等无构建环境,加载后通过 window.bicMap 使用:

<script src="https://your-cdn/bicMap.ext.min.js"></script>
<script>
  bicMap.init().then(() => {
    const map = bicMap.createMap({ container: 'map' })
  })
</script>

能力速览

| | | | | :---: | :---: | :---: | | 机器人建图机器人建图 | 3D模型控制3D 模型控制 | 实时位置更新实时位置更新 | | 点位Marker点位 Marker | PCD点云加载PCD 点云加载 | 扫地机器人场景扫地机器人场景 | | 三站一场地图引导三站一场地图引导 | 博物馆导览讲解博物馆导览讲解 | 社区24h无人值守巡检社区 24h 无人值守巡检 | | 室外建筑物室外建筑物 | 室外点云室外点云 | 高精地图加载高精地图加载 |

本地开发与示例

仓库内置了一套示例门户,覆盖室内/室外/基础/扩展/场景共 30+ 个示例:

pnpm install
pnpm dev            # 启动示例门户,默认 https://bicmap.x-humanoid-cloud.com/

构建命令:

pnpm build          # 构建 npm 包(ESM + UMD),第三方依赖 external
pnpm build:cdn      # 构建 CDN 版本(IIFE 自包含单文件)
pnpm build:web      # 构建示例门户静态站点
pnpm build:all      # 同时构建 npm 包与 CDN 版本

学习资源

生态项目

| 项目 | 说明 | 仓库 | |------|------|------| | BICMap-Mobile | 基于 uni-app(Vue3 + Vite)的移动端应用,通过 renderJS 模式集成 BicMap,实现 SLAM 建图等场景 | GitHub | | BICMap-Python | 通过 pywebview 桌面容器 + JS Bridge,让 Python 代码直接调用 BicMap JS SDK 进行地图展示与数据渲染 | GitHub |

技术栈

BicMap 构建于以下开源项目之上:

Contributors

感谢以下开发者对 BicMap 的贡献:

联系我们

欢迎微信扫码加入社群,获取最新动态与技术支持:

License

MIT © 2024-2026 北京人形机器人创新中心 (Beijing Innovation Center of Humanoid Robotics)

本项目打包并再分发了若干第三方开源库,其版权与许可证声明见 THIRD-PARTY-LICENSES.md