View Single Post
  #17   Spotlight this post!  
Unread 25-09-2016, 20:26
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,086
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: An interactive web app mapping the location of every active FRC team

Quote:
Originally Posted by maxnz View Post
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.
__________________




.
Reply With Quote