title: OverlappingMarkerSpiderfier offset length for markers
body: <p><strong>Background</strong><br>
  I use google maps together with clustermarkererplus to display various markertypes with infobubbles on a map. To deal with markers with exactly the same coordinate (or very close) an offset is generated for the markers that overlap by using OverlappingMarkerSpiderfier (OMS). Searching for an answer to this has so far only led me to adjustment of the thickness of the offset lines.  </p>
  
  <p><strong>Problem</strong><br>
  When there are many markers the offset given by the OMS is too small.</p>
  
  <p><strong>Questions</strong>  </p>
  
  <ul>
  <li>How can I increase the offset (leg length)?  </li>
  <li>Can it be dependent on if the number of markers separated by the OMS is more than a certain value?</li>
  </ul>
  
  <p><strong>Example (to show the effect)</strong><br>
  <a href="http://i.stack.imgur.com/Y6Qzi.png" rel="nofollow">Visualisation of what I want to do, increase offset (leg length)</a>   </p>
  
  <p><strong>Code</strong><br>
  Documentation of OMS is available at: <a href="https://github.com/jawj/OverlappingMarkerSpiderfier" rel="nofollow">https://github.com/jawj/OverlappingMarkerSpiderfier</a>
  <code>//Options I use</code><br>
      <code>options = {keepSpiderfied:true};</code>  </p>
  
  <p><code>//Creation of the OMS</code><br>
      <code>new OverlappingMarkerSpiderfier(map, options);</code>  </p>
  
  <p><code>//Click listener</code><br>
      <code>oms.addListener('click', function(marker, event) {</code><br>
       <code>//Code for showing infowindows</code><br>
      <code>});</code>  </p>
  
  <p><code>//Adding marker</code><br>
      <code>oms.addMarker(marker);</code></p>