Open Coalado opened 8 years ago
Protip: Setup an actual webserver (nginx) in front of flask and let the webserver gzip all responses.
Good idea.
Yeah, sorry about that, I only made a working heat map. To do it quickly, I made it generate all the heat maps, then allow you to choose which one you want. To do what you want, you have to reverse the current function to generate a heat map when you add a mon to the heat map list. (if you notice, the heat maps don't do well layering on top of each other, but that's an easy fix)
Edit: I'll fix it.
Second Edit: @nborrmann Does it make sense to be able to select multiple pokemon? It will end up strengthening the areas with overlapping mons, but you won't really be able to tell what mon goes where. It is possible to give a heatmap a palette, but, I don't think that helps visualising.
Checklist
My Issue
The heatmap can become pretty big. It's already a few MB in my case. It would be good to load it only when required. Example:
...