lhl 6ff0e96ad3 8-4-1 | 1 年之前 | |
---|---|---|
.. | ||
LICENSE | 1 年之前 | |
README.md | 1 年之前 | |
index.js | 1 年之前 | |
package.json | 1 年之前 |
$ npm i --save bmaplib.heatmap
<script src="//unpkg.com/bmaplib.heatmap"></script>
import Heatmap from 'bmaplib.heatmap'
// You should use this lib after BaiduMap loaded. For Example:
loadBaiduMap.then(() => {
new Heatmap()
})
<script src="//api.map.baidu.com/api?v=2.0"></script>
<script src="//unpkg.com/bmaplib.heatmap"></script>
<script>
new BMapLib.Heatmap()
</script>