Adds getSourcePx and getTargetPx helpers to Heatmap.