lhl 6ff0e96ad3 8-4-1 | 1 anno fa | |
---|---|---|
.. | ||
LICENSE | 1 anno fa | |
README.md | 1 anno fa | |
index.js | 1 anno fa | |
package.json | 1 anno fa |
$ 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>