We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 98f7c3c + 4535320 commit 1674773Copy full SHA for 1674773
src/components/HeatMap.js
@@ -58,7 +58,7 @@ export class HeatMap extends React.Component {
58
}
59
60
const data = positions.map((pos) => {
61
- return new google.maps.LatLng(pos.lat, pos.lng);
+ return {location: new google.maps.LatLng(pos.lat, pos.lng), weight:pos.weight}
62
});
63
64
const pref = {
0 commit comments