5

I want to generate heatmap images as overlay for Google Maps. I am searching for a PHP library which can take multiple dimensions into account when generating the image. Let's say i have 2 dimensions: density and quality. How could a heatmap be generated from this input?

Alp
  • 29,274
  • 27
  • 120
  • 198

3 Answers3

6

If you want to generate heatmap layers over google maps you probably want to check out heatmap.js too, it's licensed under the MIT license. It works with the HTML5 Canvas element and JavaScript.

Patrick Wied
  • 595
  • 8
  • 14
2

Use fusionTable, refer to here for some sample PHP code.

Wei
  • 718
  • 1
  • 6
  • 18
  • I am not sure if that will help me. I do not see any reference to heatmaps. – Alp Mar 26 '11 at 13:58
  • 1
    Here is an example[link]http://code.google.com/apis/maps/documentation/javascript/overlays.html#FusionTablesHeatmaps) using fusionTable with heatmap. You can use the fusionTable API to genereate heatmap. – Wei Mar 27 '11 at 07:22
  • Thank you, i had to change explicitly to the english version of the documentation to find it. Looks useful, but i'll have to look into it to see if it's sufficient. – Alp Mar 27 '11 at 09:45
1

This is an old question, but if someone stumbles upon it you might want to check out Google's chart offerings: https://google-developers.appspot.com/chart/interactive/docs/gallery/geochart

Tony
  • 818
  • 1
  • 7
  • 21