HelloGitHub icon indicating copy to clipboard operation
HelloGitHub copied to clipboard

【开源自荐】百度地图 GL版 Vue3组件库,vue3 components for baidu map gl

Open yue1123 opened this issue 2 years ago • 2 comments

推荐项目

  • 项目地址:https://github.com/yue1123/vue3-baidu-map-gl
  • 项目文档:https://yue1123.github.io/vue3-baidu-map-gl/
  • 类别:Ts、Vue3、组件库
  • 项目标题:vue3-baidu-map-gl
  • 项目描述:百度地图 GL版 Vue3组件库,vue3 components for baidu map gl
  • 亮点:

    • 自动加载百度地图 SDK及其工具库,将百度地图繁琐的Api封装进组件,你只需关注组件本身
    • 比较完整,提供的组件和 hooks 能覆盖大部分使用场景
    • Composition Api + Ts,面向未来,更好的性能,和你的 Ts 项目无缝衔接
    • tree shaking 支持,模块分包,只打包你想要的的
    • 体验良好,支持volar,组件提供完善的代码提示,与用户逻辑保持一致
    • 基于百度地图Gl版SDK,WebGL对地图、覆盖物等进行渲染,支持3D视角展示地图
    • 组件同时兼容大驼峰命名(CamelCase)和短横线命名(kebab-case)
  • 示例代码:(可选)

    安装

    npm i vue3-baidu-map-gl
    

    使用

    <template>
      <Map ak="百度地图ak">
        <Zoom />
      </Map>
    </template>
    
    <script setup lang="ts">
      import { Map, Zoom } from 'vue3-baidu-map-gl'
    </script>
    
  • 截图:(可选)gif/png/jpg image image

  • 后续更新计划: 支持更多的百度地图内容

yue1123 avatar Oct 26 '22 11:10 yue1123

Can I use this component on the mobile side?

HMoonLy avatar Nov 16 '23 01:11 HMoonLy

Can I use this component on the mobile side?

Sure.

yue1123 avatar Nov 16 '23 16:11 yue1123