lhl 6ff0e96ad3 8-4-1 1 年之前
..
README.md 6ff0e96ad3 8-4-1 1 年之前
index.js 6ff0e96ad3 8-4-1 1 年之前
package.json 6ff0e96ad3 8-4-1 1 年之前

README.md

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>