Closed TT1603 closed 3 years ago
Looks like this is good to go! Please re-base on master and resolve conflicts so I can merge.
I tried testing this out and I'm getting a white map. No colors are showing up. I think it might be an incorrect calling of getColorMapping in populateMap in viewmodel.js. It should be: this.model.getColorMapping(this.colors, key).
Also there's a small bug when the max value is given, because Math.floor will return 8 which is out-of-bounds of the colors array.
Thank you for the feedback! I had updated the code so you can check if it is ready for merging now.