Closed Broham closed 7 years ago
For those wondering you can pass in options through the load
function and they will be appended to the url that is used to load the api. Since in this case you simply need to include, libraries=heatmap
when referencing the api, you can do this to include the heatmap library:
GoogleMaps.load({ libraries: 'visualization' })
I've been following googles documentation to create a heatmap, but with this line:
new google.maps.visualization.HeatmapLayer(...)
it throws:
Cannot read property 'HeatmapLayer' of undefined
Is it possible to create a heatmap using this?