| Andrew Schreiber |
25-09-2016 20:26 |
Re: An interactive web app mapping the location of every active FRC team
Quote:
Originally Posted by maxnz
(Post 1608175)
If you look at the code and the merge descriptions, it says that the locations are slightly randomized to prevent overlapping of teams.
It looks like the randomization happens every time the page is loaded, so they will move around each time.
|
To OP, are they randomized as in "we jitter all points" or are they run through a collider? I've used d3-force for generating plots where the overlapping points will just slightly shove all the points around to get as close as possible and it's fairly simple. And it'd be more reproducible. Bonus - points that doing overlap would be correct.
Another option would be porting to leaflet.js because, if I remember correctly, it has an option to solve this problem already.
Cool map though.
|