Added heatmap
This commit is contained in:
25
src/components/heatmap.js
Normal file
25
src/components/heatmap.js
Normal 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,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user