Added heatmap

This commit is contained in:
feny85
2021-06-18 01:34:46 +08:00
parent e4992dc775
commit bdc9e4d2cb
3 changed files with 86 additions and 0 deletions

25
src/components/heatmap.js Normal file
View File

@@ -0,0 +1,25 @@
import buildComponent from './build-component.js'
const props = {
options: {
type: Object,
twoWay: false,
default: () => {
},
},
data: {
type: Array,
twoWay: true
},
}
const events = [];
export default buildComponent({
mappedProps: props,
name: 'heatmap',
ctr: () => google.maps.visualization.HeatmapLayer,
events,
})