@anshichifan/vue-baidu-mapgl
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

VUE BAIDU MAP

Baidu Map components for Vue 2.x

## Special Instruction

The current package is copied from the Vue-Baidu-Map of Dafrok. Since the original author has not maintained the Vue-Baidu-Map package, I copied it for personal use and changed the BAIDU Map API to 3.0

npm Travis Package Quality npm license

Languages

Documentation

https://github.com/BigPlayBoy/vue-baidu-mapgl

Get Start

Installation

npm i --save vue-baidu-map

Initialization

import Vue from 'vue'
import BaiduMap from 'vue-baidu-map'

Vue.use(BaiduMap, {
  /* Visit http://lbsyun.baidu.com/apiconsole/key for details about app key. */
  ak: 'YOUR_APP_KEY'
})

Usage

<template>
  <baidu-map class="map">
  </baidu-map>
</template>

<style>
/* The container of BaiduMap must be set width & height. */
.map {
  width: 100%;
  height: 300px;
}
</style>

Contributing

Contributing Guide

License

MIT License

Copyright (c) 2023-present

/@anshichifan/vue-baidu-mapgl/

    Package Sidebar

    Install

    npm i @anshichifan/vue-baidu-mapgl

    Weekly Downloads

    13

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    256 kB

    Total Files

    104

    Last publish

    Collaborators

    • anshichifan