lj_zhgd-app/node_modules/bmaplib.heatmap
haozq 3be6280442 first commit 2025-01-16 18:42:50 +08:00
..
LICENSE first commit 2025-01-16 18:42:50 +08:00
README.md first commit 2025-01-16 18:42:50 +08:00
index.js first commit 2025-01-16 18:42:50 +08:00
package.json first commit 2025-01-16 18:42:50 +08:00

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>