title: Rearrange Points that are too near to each other
body: <p>My case is that I am dynamically positioning a bunch of icons on a static map image, each by CSS, positioned absolutely. Now it often happens, that two or even more points are too near to each other, so the icons overlap and they are not anymore distinguishable.</p>
  
  <p>I am looking for an algorithm to find these "too near to each other" points, and then spread their icons out in a manner that they do not overlap each other anymore.</p>
  
  <p>I am thinking of a radial spread, like finding the average middle point of all points that are too near and then spread them out relatively to that point.</p>
  
  <p>Is there any pattern for such a problem of which you may know?</p>
  
  <p>Thanks a lot in advance.</p>