Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected heat intensity calculation on tilemap view. #6284

Closed
wants to merge 1 commit into from
Closed

Corrected heat intensity calculation on tilemap view. #6284

wants to merge 1 commit into from

Commits on Feb 19, 2016

  1. Corrected heat intensity calculation on tilemap view.

    Existing solution does not get minimum value of interval.
    If we have temperature values from 23 to 27, then the heatmap is almost always red (maximum intensity) because:
    [(value/max)*100] 23/27*100 = ~85,19%
    If 23 is minimum value of interval it should be marked as blue on heatmap, so correct way to count heatintensity is:
    [(value - min)/(max - min)*100] (23-23)/(27-23)*100 = 0%
    kurbanczyk committed Feb 19, 2016
    Configuration menu
    Copy the full SHA
    69e5bcf View commit details
    Browse the repository at this point in the history