lhl 6ff0e96ad3 8-4-1 il y a 1 an
..
LICENSE 6ff0e96ad3 8-4-1 il y a 1 an
README.md 6ff0e96ad3 8-4-1 il y a 1 an
index.js 6ff0e96ad3 8-4-1 il y a 1 an
package.json 6ff0e96ad3 8-4-1 il y a 1 an

README.md

BMapLib.Heatmap

Installation

NPM

$ npm i --save bmaplib.heatmap

CDN

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

Usage

ES Next

import Heatmap from 'bmaplib.heatmap'

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

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

CDN

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