Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yue1123 opened this issue Oct 26, 2022 · 2 comments

Comments

@yue1123
Copy link

yue1123 commented Oct 26, 2022

推荐项目

  • 类别: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

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

@HMoonLy
Copy link

HMoonLy commented Nov 16, 2023

Can I use this component on the mobile side?

@yue1123
Copy link
Author

yue1123 commented Nov 16, 2023

Can I use this component on the mobile side?

Sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants