jeffreykemp / jk64-plugin-reportmap

Report Google Map APEX Plugin
https://jeffreykemp.github.io/jk64-plugin-reportmap/
MIT License
43 stars 16 forks source link

Heatmap weight not sent correctly #73

Closed jeffreykemp closed 5 years ago

jeffreykemp commented 5 years ago

Regression introduced in v1.0 - when rendered as a heatmap, the weight data is converted to either 0 or 1.

Also, reduce data volume by sending data as arrays (triples) instead of structs.

jeffreykemp commented 5 years ago

used the least function, should have used greatest(weight,1) to get rid of negative/zero values