bmaplib.lushu

A library of Baidu Map JS API


Keywords
baidu, baidu-map, lushu
License
MIT
Install
npm install bmaplib.lushu@1.0.7

Documentation

BMapLib.LuShu

Installation

NPM

$ npm i --save bmaplib.lushu

CDN

<script src="//unpkg.com/bmaplib.lushu"></script>

Usage

ES Next

import LuShu from 'bmaplib.lushu'

// You should use this lib after BaiduMap loaded. For Example:

loadBaiduMap.then(() => {
  new LuShu()
})

CDN

<script src="//api.map.baidu.com/api?v=2.0"></script>
<script src="//unpkg.com/bmaplib.lushu"></script>
<script>
  new BMapLib.Lushu()
</script>