Heatmap based on average weights and not on the number of data points

前端 未结 5 1880
逝去的感伤
逝去的感伤 2020-12-28 17:29

I am making a heatmap with Google API v3. I\'ll give an example. Lets consider earthquake magnitudes. I assign weights to each point to specify their magnitude. However goog

5条回答
  •  遥遥无期
    2020-12-28 18:19

    A heatmap by definition considers point density as well as the weight assigned to each point. At least Google's heat map work this way as far as I know from working with them. So what you actually need is not a heatmap but a map of points that they will be coloured depending on a value.

    I also needed to change the ratio density/weight that Google heatmaps take into consideration in order to colour the map but i didn't find any way. Currently the heatmap's main factor is the density and a change in weight has small effect on the colour.

提交回复
热议问题